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

Change the order of commands as

mygrid1.enableSmartRendering(1); //need to be called before splitAt
mygrid1.splitAt(2);

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

I’m getting the same error, but in dhtmlxgrid.js (line 834) when I try to delete a row. The problem goes away when I remove smart rendering.

If you are using older version of the grid - try to update to the latest one. Issue can’t be reconstructed with grid 2.5

I just installed it last week. It’s 2.5.

We have tried to recreate the issue locally , but so far - without success.
If you need a fix ASAP - you can open the ticket at support.dhtmlx.com

I’m seeing this error also. I just upgraded our codebase from 2.1 to 2.5. I now get that error when attempting to load some of our tree grids (the grid fails to load).