DataGrid reset sort order

4
Good Morning Community, I have a DataGrid with a default sort order based on multiple attributes (including attributes that are not visible in the grid). The user can click on the headers to change the sort order but I need to have a button to reset the sort order of the datagrid back to default. Refreshing the page parameter object does not do it. ReOpening the page works but is a little ugly, because it also scrolls up to the top of the page. Any Ideas on how to reset the DataGrid sort order back to default?
asked
2 answers
2

Do you tried to handle it by a javascript call?

answered
0

The datagrid extension has this functionality. I know its not supported anymore but this version has been working for me. 
 

https://github.com/tieniber/DataGridExtention

 

When flex header is enabled, right click > reset.

answered