Skip to Content
author's profile photo Former Member
Former Member

How to remove sorting manually?

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 11, 2016 at 01:11 PM


    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 ?

    Add a comment
    10|10000 characters needed characters exceeded

    • 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...

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.