how to reset to default sort column after custom search button server side processing?

how to reset to default sort column after custom search button server side processing?

VerdeVerde Posts: 1Questions: 1Answers: 0

How can a sort column reset be done to default sort column after custom search button server side processing? The custom search works fine and so does click the column sort icons for server side processing. My issue is, the second-nth time I click search, it retains the last sort column values. How can I reset the column values to point to the default sort column (first column)?

I added this to the Search button click event, but the sort icon did not change:
gtblSubjectAreasdataTable.resetPaging = true;
and tried this:
gtblSubjectAreasdataTable.ajax.reload(null,true);

Answers

This discussion has been closed.