DataGrid reset sort order

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?
2 answers

Do you tried to handle it by a javascript call?


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


When flex header is enabled, right click > reset.