XF / News xf:toggle check on click on xf:datarow

Status
Not open for further replies.

Bots

Registered
Joined
May 3, 2024
Messages
2,732
Reaction score
1
For a markup such as this
HTML:

Code:
<xf:datalist>
    <xf:datarow>
        <xf:toggle name="foo" value="123" />
        <xf:cell>Abc</xf:cell>
        <xf:cell>Def</xf:cell>
    </xf:datarow>
</xf:datalist>

Is there a way to have the checkbox clicked whenever the row (or any cell of that row) is clicked? I'm thinking of attaching a click event on the row and getting it checked via the click handler but wanted to first check if this is supported in a much less complex way.

Continue reading...
 
Status
Not open for further replies.
Top