cancel
Showing results for 
Search instead for 
Did you mean: 

TablePersoController Initial Perso Data set Issue

Former Member
0 Kudos

Hi All,

Am using TablePersoController and am facing a weird issue where Initially when table is rendered getPersData() of Perso service is called but personalisations are not applied on the table but from next time onwards if i change my columns order and visibility it is working fine. Initially I want to hide some of the columns of the table and later user can set as visible by using Perso controller. Please help me on this.

Regards,

Arun.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I too have faced same issue and fixed it by doing this:

For in the perso service js, you have to pass the component name and table name for the column id: like this: <component-name>-<tableID>-<columnID>

For eg, it has to be passed like this: demoApp-productsTable-productCol

Also in the TablePersoController initialization you have to pass the componentName: "demoApp"

You can find the component name from your Component.js

You can see the name in UIComponent.extend("demoApp.Component"

For the name you need to use demoApp without .Component.

Former Member
0 Kudos

Thanks Yugandhar for the reply. But my problem is different i.e for me personlisation is working fine without any issue. Ofcourse I have followed the same steps as per the UI5 documentation. My problem is in the initial load Perso controller is not applying the pereferences on the table.

Regards,

Arun.

0 Kudos

Same problem here, any one can help?

Former Member
0 Kudos

Hi Dorian,

Did u get any solution for this issue ?