cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am using a smart table in my app. I want to set a default sort order on a column. UI5 Version 1.52.5.

I have not used UI.LineItem annotation, rather used all custom columns. The reason was that I wanted custom widths for all my columns. (max-width does not work well and other formatting requirements).

For the default Sort Order I used UI.PresentationVariant, specifying default sort property. But this is not having any effect. What can be the reason?

jocelyn.dart , I saw your blog and followed all the steps. It will be great if you can help.

Thanks

Krishna

View Entire Topic
janmattfeld
Participant

According to the current documentation (1.82.4) [1], the PresentationVariant annotation is interpreted by the SmartTable. However, the follwoing restriction applies:

  • SortOrder is not evaluated for the ResponsiveTable control.

[1] https://sapui5.hana.ondemand.com/#/api/sap.ui.comp.smarttable.SmartTable%23annotations/PresentationV...

Marian_Zeis
Active Contributor
0 Likes

Thanks for the Answer.

Really frustrating