Dgrid-OnDemandGrid Virtualscrolling -


i using dgrid ondemandgrid jsonrest store.on scrolling,i taking 40 records database.

                     var grid= new ondemandgrid({                  store: jsonstore,                 columns: layout,                 minrowsperpage : 40,                 maxrowsperpage : 40,                 loadingmessage: "loading data...",                 nodatamessage: "no results found."             }, "grid"); 

on first time ,i getting response header content-range items=0-39/132 .on further scrolling ,the response header content-range items=38-78/132 instead of 40-79/132.

can tell me how response 40-79/132 , 80-119..etc..

add queryrowsoverlap: 0 object you're passing grid constructor.

queryrowsoverlap defaults 1, , reason queries overlap. property intended counteract issues dojo/store/observable "dropping" items @ page boundaries, though isn't perfect solution.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -