cancel
Showing results for 
Search instead for 
Did you mean: 

p13n.Engine not working in SAPUI5.SDK Demo kit

ritvik_s5
Member
0 Kudos
448

In version 1.115, TablePersoController has been deprecated, instead it suggests to use p13n.engine. But in its Sample ,user is able to rearrange columns but is not able to deselect the selected columns. How to resolve this issue?

Engine Sample: https://sapui5.hana.ondemand.com/#/entity/sap.m.p13n.Engine/sample/sap.m.sample.p13n.Engine

I311295
Associate
Associate
0 Kudos
I am also facing same issue... Are you able to find resolution ?

Accepted Solutions (0)

Answers (1)

Answers (1)

umasaral
Participant
0 Kudos

Hi 

To resolve the issue of not being able to deselect columns in the p13n.engine, ensure you:
Enable Column Deselect: Check if the p13n.engine configuration includes the Personalization settings that allow column deselection.
Set showRemoveButton: Ensure the p13n dialog configuration has the showRemoveButton property set to true.


Example configuration:

var oP13nEngine = sap.ui.p13n.Engine.getInstance();
oP13nEngine.addChange({
type: "column",
control: oTable,
changes: [
{
path: "visible",
value: false
}
]
});
Ensure you are using the latest version of SAPUI5 as there might be fixes related to this issue.