on 02-21-2016 11:10 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Same problem here, any one can help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.