clickable text with checkbox? - Mendix Forum

clickable text with checkbox?


we have a design where there is a checkbox in a listview.

Is there a way to make it so that when the text is clicked that the checkbox is activated?

or a way to make it so that when the listview item is clicked the checkbox is activated?


2 answers

added idea to idea forum


Hello Jason, 

If you want to do it via the listview click you can always use a OnClick microflow that sets the bool to true (or to the opposite of what it was if you want it as a toggle) and then refresh in client.

As for clicking on the textbox you can work it out with a js/jQuery onClick event, I've done something similar for clicks within a div. Happy to have a look for a snippet if you're having difficulty with it.

Hope this helps.