We have the requirement to be able to load data dynamically. The size of the data set could be big and I am using ajax calls to get my data from the server
I found the feature for smart rendering and dynamic loading and have at least some of it working
so I am doing the following
-
call enableSmartRendering passing the number of rows and the max page size
-
attach the onDynXLS event
in the onDynXLS event I call my server function passing it the start and count
on the server I then get my data and send it back to the client where I use the parse function to add them to the grid
this all works ok as long as I don’t go over the page size. if I go over the page size I get the event for the second page over and over
I am not sure but I am wondering if maybe the parse function doesnt append data to the grid and therfor I am only getting the first page?
any samples on how to handle this properly?
thanks
Mike