Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kunal on Dec 15, 2008 02:31
open dhtmlx forum
sorting and paging in grid

hi,

I am using dhtmlx pro version..
In my code , I have loaded grid from html tabel using api..

var myGrid=new dhtmlXGridFromTable('tblToGrid');

Now I want to add filter as well as pagination facility to mygrid..
So I used following api..

var myGrid=new dhtmlXGridFromTable(tableId);
myGrid.attachHeader(filterstr);
myGrid.enablePaging(true,noOfRecords,noOfPages,"recinfoArea",true);
myGrid.setPagingSkin("bricks");
myGrid.changePage(0);
myGrid.enableSmartRendering(true);

But it is giving me javascript error as follows

this._fillers.length is null or not an object..

I am not able to figure out the problem...

So tell me how do I solve this error?

Answer posted by Support on Dec 15, 2008 03:26
Unfortunately the issue can't be reconstructed locally, if issue still occurs for you - please provide any kind of sample where issue can be reconstructed ( you can send it directly to support@dhtmlx.com

By the way - you are using both paging and SRND modes in the same time, which has not sense, they are mutual exclusive ( paging already provides buffering , so you need not use smartRendering mode in the same time ) , please try to remove "myGrid.enableSmartRendering(true);"  from used initialization