XF 2.2 xf:toggle check on click on xf:datarow

asprin

Active member
For a markup such as this
HTML:
<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.
 
Back
Top Bottom