sorting saving in cookie with connector-sorting

Hi support,

I use dhtmlxGrid 2.5 with connector 1.0.

Is there a possibility to save sorting state if target column is sorted by connector?
The automatic sorting saving seems to work only for non-connector values (str,int,na,…).

Here’s my example:

grid.enableSortingSaving(‘sortingCookie’);
grid.setColSorting(‘connector,[…]’);
grid.loadSortingFromCookie(‘sortingCookie’);

If I take a look at the according cookie, the sorting of connctor columns is not stored at all.

Please give me a hint (maybe writing the cookie on my own or something).

Thanks in advance,
Peter

Saving works for all sorting types, but restoring state will not work in case of connector.
You can use render_sql command instead of render_table in connector code, and use ORDER BY instruction in render_sql ( you can take the sorting state from cookies, which are available on server side )

It possible to customize ssc extension for storing sorting order, but as result you will have double data loading ( loading initial state and reloading with restored correct order )