‎2024 Mar 21 7:40 AM - edited ‎2024 Mar 25 9:09 AM
I've been trying to implement a table with FLP that toggles between editable and non editable on button click.
My first problem is that even when I set readOnly to false the cells look editable but arent.
And my secound proble is, when I change the "readOnly" value via the controller, nothing happens.
The documentation does not include the controller.
I found the controller and it seems to set a model that is not bound to the page and when I comment it out the functionality doesn't change.
Any help is appreciated.
Request clarification before answering.
Hi @G_Misi,
I had the similar problem when I was creating custom page within the FPM. I was able to solve it by setting the isEditable property of global ui model that is available within FPM to true within the onAfterRendering method of the custom page.
onAfterRendering: function() {
this.getModel("ui").setProperty("/isEditable", true);
},I hope it helps.
Best regards,
Vladimir
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 | |
| 4 | |
| 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.