I created my own cookie based sorting saving. If there is an entry, I attach something like
&dhx_sort[2]=asc
to my connector url.
I use dynamic loading and bricks paging. Once I move forward to a page that triggers a new dynamic server request it clears that parameter, so that the result is unsorted (atleast not sorted as I want it to).
From initial URL:
conn.php?connector=true&dhx_colls=3,9&dhx_sort[4]=asc
… the URL changes to:
conn.php?connector=true&dhx_no_header=1&posStart=24&count=8&dhxr1542880957265=1
… which of course kicks my initial sorting preferences.
BUT: When sorting in the GUI by clicking the column headers the paging algorithms saves that kind of sorting and attaches the according sorting params automatically.
Question: How to savely load (and reload) data from server with stored client side preferences (that may change through sorting by user and should always keep that last sorting preferences).