on 08-11-2016 1:56 PM
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?
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.