Custom widget - get reference to a control on page

0
Hi, I have created a custom pluggable widget, I want to check a checkbox that is in the page and according to the checked state of it want to disable a button. Is this possible? can you please show some examples. Thanks
asked
2 answers
0

u can set the editablity of the button based on the check box checked value. we dont need a widget for this. 

answered
0

Hi,

You need to set an attribute and then render a checkbox manually or you can add a containment widget and render whatever you want inside the widget, but to manipulate this property you need to refer an attribute in the widget.xml.
https://docs.mendix.com/apidocs-mxsdk/apidocs/client-apis-for-pluggable-widgets

 

Regards
Diego
Team Lead | UI Content @ Mendix

answered