Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lubos on Nov 28, 2008 07:21
open dhtmlx forum
Paging and POST in dhtmlxGrid

Hi,
I've question about this feature: http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3450&ssr=yes&s=post%20load%20xml
I need to use paging, but it seems this extension does'n support it, is it? Is there any workound, how to use POST and paging?
Thanx in advance,
Lubos
Answer posted by Support on Nov 28, 2008 07:56
In dhtmlxgrid 2.0 you can use next code

grid.attachEvent("onDynXLS",function(start,count){ //will be called for dyn. loading attempt
    grid.post("some.php","start="+start+"&count="+count); //custom loading code
    return false; //blocking native loading functionality
});
Answer posted by Lubos on Dec 01, 2008 02:01
Thanx, it works fine!