cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove sorting manually?

Former Member
0 Kudos

sorting - SAPUI5 Table - Remove Filter/Grouping/Sort? - Stack Overflow

Is in sap.ui.table.Table really no possibility (as it stated in above link) to remove sorting, once it is applied, not by additional coding, but manually, i.e. by user click in Column Header Menu by user?

Accepted Solutions (0)

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

Valerjans,

what do you mean by manually ?  what if there was a button on the table header to refresh the data... like a rebind.. that would set the data back as it came from the model.. is this what you mean manually ?

Former Member
0 Kudos

No, manually (in this case) means without additional coding/programming, by some action of simple user (which is not programmer).

SergioG_TX
Active Contributor
0 Kudos

I agree with you and the link you posted.. once the user clicks on the column header and the data gets sorted... i do not think there is a toggle to undo the sorting ... in this case you would need to do the coding to "undo" the sort ... remove the sort by setting to null, etc.

since you already have the code.... you should try it...