Hopefully there is a simple answer to this, but I can't seem to find much about it.
I have an MVC grid Ajax-bound, working nicely, with single column sorting. I can remember the selected row and reset it very nicely on grid redisplay.
However, I'd like to be able to remember the currently sorted column too, so that when I post a request to the server to change the data displayed, I can retain the previous column sort order in the updated display.
I can't see any client-side functions to get or set column sort status, nor anything to handle it server side. Poking around in the browser script debugger, I could not see where the column sort orders are held - though I don't spend too long on it.
Am I missing something obvious?
Cheers
Mark
I have an MVC grid Ajax-bound, working nicely, with single column sorting. I can remember the selected row and reset it very nicely on grid redisplay.
However, I'd like to be able to remember the currently sorted column too, so that when I post a request to the server to change the data displayed, I can retain the previous column sort order in the updated display.
I can't see any client-side functions to get or set column sort status, nor anything to handle it server side. Poking around in the browser script debugger, I could not see where the column sort orders are held - though I don't spend too long on it.
Am I missing something obvious?
Cheers
Mark