xf:toggle check on click on xf:datarow

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.

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ