Skip to Content
Mar 11, 2019 at 05:53 AM

How to place Sorting icon on sap.m.Table along with Column Name?


Hi All,

I am using sap.m.table in my application. the requirement is i need to enable sorting for each column, whenever the user press the column. I did it by seeing some examples. it works like when user press the column name,small popup comes near to the column name like Ascending or Descending. see the image below.

Now i need a kind of indication to the user like in which mode it is sorted? a small sorting icon? along with column name in sap.m.table?

Thank you,