Skip to Content
Jul 22 at 03:32 PM

How to save layout/personalization for SAPUI5 table with dynamic columns

73 Views Last edit Jul 22 at 03:35 PM 2 rev

Hello UI5 Experts,

I'm working on custom SAPUI5 application with backend ODATA service, wherein using ODATA EntitySet to get table Column and Row data based on FilterBar selection. Once data received from backend in controller manipulating data to JSON model and binding to sap.ui.table.Table Rows and Columns.

Sample Code-

How to provide variant management or personalization for these kind of dynamic tables?

I have tried adding SmartTable as parent of this UI table, wherein getting Variant features(Settings Button, Manage Variants, Export Button). But when I click on settings button the p13n dialog not populating any data.

Please let me know if any more details are required.

Appreciate the help!