Skip to Content
0
Jun 19, 2018 at 04:29 PM

How to sort by ascending and descending by click on a button in a grid table?

1512 Views

Hi, I want to click in a button of sort and make the data of the grid table ascending and descending, I've already tried the https://sapui5.hana.ondemand.com/#/sample/sap.ui.table.sample.Sorting/preview example and didn't work, there's another way that I've saw that is to set sap:sortable="true" in the metadata,but I don't know how.