on ‎2025 Dec 09 9:21 AM
I'm trying to add a column selection in view settings for sap.m.table
i have the code below where i try to attach the Engine event so when column selected changed, the function is not firing.
All i'm getting is this error - "Log-dbg.js:497 2025-12-09 17:19:39.498800 A Change was not created successfully. Reason: - No Change handler registered for the Control and Change type"
May I know what am I missing?
onInit: function () {
this.oMetadataHelperPrint = new MetadataHelper(aColumns);
Engine.getInstance().register(oTable, {
helper: this.oMetadataHelperPrint,
controller: {
Columns: new SelectionController({
targetAggregation: "columns",
control: oTable,
persistenceIdentifier: "selection-columns"
})
}
});
Engine.getInstance().attachStateChange(this.handleStateChange, this);
},
handleStateChange: function (oEvt) {
//logic placed here
}
Request clarification before answering.
Hello,
Thank you for your question. Can you please check whether the following knowledge base article resolves your issue?
3411354 - P13n Engine doesn't work in sap.ui.table
Kind regards,
Henrike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.