DHTMLX Grid : Sorting not working properly in Paging .

Hi,

The sorting for Grid is not working properly if I use paging.

Actually the problem is that it tries to sort the whole grid instead of sorting only the records which are shown on current page.

What could be the solution ?

Actually the problem is that it tries to sort the whole grid instead
This is expected behavior. Grid sorts whole dataset, not current page only.
The sorting is quite fast, so it must not cause problems with preformance.
There is no way to change the sorting behavior, so it will sort the current page only ( it will require pretty complex modification of source code, if such feature is critical in your case - you can contact sales@dhtmlx.com and ask about customization )