Load additional data in buffer for dhtmlxgrid with paging

Hello All,

I have paging enabled and set to 50 and have a total of 200 rows. When i am on page 1 and click column for sorting i see that sorting is only done on the 50 records.

However when i navigate from page 1 top page 2 and then click on column sort i see that sorting is done on 100 rows which are buffered, i.e. present in rowbuffer.

Is there a way i can load additional rows directly in row buffer or populate row buffer data with more data then the paging offset. This will help me sort on a larger data set apart from the one only loaded on grid.

Any help would be appreciated. Thanks.

In case of dynamic loading of data you should implement the server-side sorting.
Her you can find tutorial about its implementation:
docs.dhtmlx.com/grid__dynamic_lo … p5sortdata