I've got an app where I'm loading data into a grid in a certain sort sequence based on different search fields the user can specify. This is done using the Order By on the sql when retrieving the data from the Db.
Once the data is loaded into the grid the user can re-sort the data by clicking on a column header.
My problem is this, if the user performs another search I want the sort to revert back to the sort sequence before they clicked on a grid column.
I assumed the headerCt.clearOtherSortStates(null , true); would do what I was looking for. This does clear graphic arrow on the column header that was clicked but when the grid's reloaded it still retains the sort sequence of the clicked column.