[RSS Feed/News] xf:toggle check on click on xf:datarow

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #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.
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom