No select all feature exist in p13n.engine dialog
What is the issue and how can we reproduce it?
- Open the sample [https://sdk.openui5.org/#/entity/sap.m.p13n.Engine/sample/sap.m.sample.p13n.Engine
- Click on settings button
- There should be select all button which now is not exist
Expected behavior:
The ability to select and deselct all possible columns.
Which OpenUI5 version is your project targeting?
1.143.1
Is the issue device- or browser-specific?
No response
Confirmation
- [x] I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
- [x] I am not disclosing any internal or sensitive information.
Hello @TawillAvi,
Thank you for sharing this finding. I've created an internal incident DINC0759045. The status of the issue will be updated here in GitHub.
Regards, Stefan
Hi @TawillAvi,
as of now, there is no way of configuring this by just using sap.m.p13n.Engine and sap.m.p13n.SelectionController unfortunately.
If you'd be using the sap.m.p13n.Popup standalone with the sap.m.p13n.SelectionPanel, you'd be able to configure the SelectionPanel's multiSelectMode (see setMultiSelectMode)
There is a workaround (a not so nice one to be quite frank):
You can create a separate Controller, that inherits from SelectionController and overwrites the createUI method. In this method, you can instantiate a SelectionPanel and pass the multiSelectMode property.
Could look like this:
SelectionController.prototype.createUI = function(oAdaptationData) {
const mPanelSettings = {
showHeader: true,
enableCount: true
multiSelectMode: "SelectAll"
};
const oSelectionPanel = new SelectionPanel(mPanelSettings);
oSelectionPanel.setEnableReorder(this._bReorderingEnabled);
return oSelectionPanel.setP13nData(oAdaptationData.items);
};
This is of course not ideal, but a possible temporary solution. Btw, if you'd use the MDC controls, this would not be a problem, as they come out of the box with "SelectAll".
I'll trigger a discussion internally, to see whether it makes sense to offer a clean public API when using the Engine. I'll keep you posted on the progress of that discussion.
@TawillAvi
Thanks for reporting this issue.
I agree that a Select All / Deselect All option would significantly improve usability in personalization dialogs.
In enterprise applications, tables often contain dozens of columns, and users frequently need to configure views for reporting, reconciliation, operational monitoring, and data analysis. Manually selecting or deselecting a large number of columns can be time-consuming and error-prone.
Providing a dedicated Select All and Deselect All action would improve efficiency and align with user expectations for personalization interfaces. It would be particularly helpful when users want to start with all available columns visible and then remove a few, or alternatively begin with a clean slate and add only the fields relevant to their role.
From a user experience perspective, this seems like a natural enhancement for p13n dialogs and could improve productivity for users working with complex datasets.
Hello colleagues,
By default, the Personalization Engine Dialog in SAPUI5 sets the selection panel mode to "ClearAll". This means that users can only deselect all columns at once. Once fully deselected, the selection is disabled, and users must manually reselect each column one by one.
Please check the following documentation: https://community.sap.com/t5/technology-blog-posts-by-sap/the-ultimate-guide-to-sapui5-personalization-engine-fixing-hidden-issues/bc-p/14024306
Kind regards, Evdokia Yordanova SAPUI5 SAP Development Support