hi ,
i am getting error in getFilterElement (0) . my sample code as :
View.prototype.initLayout = funtion () {
this.mygrid = new dhtmlXGridObject(‘gridbox_tab1’);
this.createGrid ();
this.init ();
}
View.prototype.init = function () {
…
…
var combo = me.mygrid.getFilterElement (0);
…
…
}
View.prototype.createGrid = function () {
var me = this;
me.mygrid.setImagePath("…/dhtmlx/dhtmlxGrid/codebase/imgs/");
me.mygrid.setHeader(“IPAddress,NodeName,Description”);
me.mygrid.setColAlign(“center,center,left”);
me.mygrid.attachHeader("#select_filter_strict,#select_filter_strict,#select_filter_strict");
me.mygrid.setInitWidths(“130,130,400”);
me.mygrid.setColTypes(“ro,ro,ro”);
me.mygrid.setColSorting(“str,str,str”);
me.mygrid.setSkin(“light”);
me.mygrid.init();
}
thanks
lalit gera
hello,
the code looks correct
which grid version do you use ? getFilterElement is provided since build 90226.