Click here to Skip to main content
15,878,871 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this is my code
=================
C#
DynamicReport.SchemaRelationControl = function (relation) {
 var self =this ;
 var combotable=null;

 var createleftcombo=function (tblname){
    var tables = Ext.create('Ext.data.Store', {
        fields: ['value', 'text'],
        data:[{text:tblname,value:tblname}]
    });
 combotable = Ext.create('Ext.form.ComboBox', {
        fieldLabel: 'lefttable',
        store: tables,
        queryMode: 'local',
        displayField: 'text',
        valueField: 'value',
        renderTo:'fom-container',
    });
    }
     var init=function () {
        createleftcombo(relation.tblname);
    } ();



};
===================================
when i run this code it shows "type error u is null"
please help me
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900