on 2023 Jul 03 2:10 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.