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

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,664
Points
823

Reputation:

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