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

Hi everyone,

I have a custom UI5 app, the main feature is sap.ui.table.Table, which has columns that are defined at run time (with table.addColumn() in the controller, not defined in the XML) based on some user information. I wanted to add a personalization dialog as in this example. What I did differently from the example is that instead of having the oData in the PersoService.js defined statically, I add the column data to it at the same time I add columns to the table.

I am receiving a few errors when I try and open the personalization dialog however (shown below), does anyone have experience adding a personalization dialog for a dynamically defined table? I was not sure from these errors if its just not possible or if I am making a mistake.

capture.png

0 Likes
View Entire Topic
former_member601615
Discoverer
0 Likes

Hi Kassab,

I have a similar requirement and am new to sap UI5, am using sap.m.table for dynamic creation of table columns and rows.

While creating the column i am passing its visibility from oData but table persnolization is not working as expected, can you please suggest what should i do here can u share any sample code of yours.

Thanks in advance.

Regards,

Rajesh K