Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Subathra on Jan 20, 2010 22:02
open dhtmlx forum
dhtmlxTreeGrid - Filter Error

Hi,

When I am trying to filter the Grid then i get the following error. I used "mygrid3.setFiltrationLevel(-2);".

Error is : this._fillers is undefined

Code is :
mygrid1.enableSmartXMLParsing(true);    
     mygrid1.enableMercyDrag(1);
        mygrid1.splitAt(2);
        mygrid1.enableSmartRendering(1);
        mygrid1.setFiltrationLevel(-2);
     mygrid1.init();
     mygrid1.attachEvent("onCheckbox",doOnCheck);
     mygrid1.enableDistributedParsing(true, 10, 300);    
     var custname1=document.getElementById('custname').value;
     var time1=document.getElementById('time').value;
     var xmlfile="cilists_network_" + custname1 + "_" + time1 + ".xml";
     var filename=UploadShortPath + xmlfile;
     mygrid1.loadXML(filename);

Please help me. Anything i want to change my code.

Thanks & Regards,
P.Subathra
Answer posted by Stanislav (support) on Jan 21, 2010 01:39
Change the order of commands as

mygrid1.enableSmartRendering(1); //need to be called before splitAt
mygrid1.splitAt(2);
   
Answer posted by Subathra on Jan 21, 2010 01:52
Hi,

Thank you. I have changed but till it is showing the same error.

Errorthis._fillers is undefined

file :  dhtmlxGrid/dhtmlxgrid_srnd.js (line 11)

Please help me.

Thanks & Regards,
    P.Subathra