How to disable activation of row on click?

35 views
Skip to first unread message

Sergey Dashko

unread,
Oct 17, 2017, 2:02:06 PM10/17/17
to Fancytree Q&A
Hi.
I use Fancytree with Table and Select extension.
I have checkbox in my row and I don't want to disorient my users with row activation on click. I want them to give only one option - click checkbox.
Is it possible?

Best regards,
Sergey

mar10

unread,
Oct 18, 2017, 2:26:11 AM10/18/17
to Fancytree Q&A
Have a look at the `click`, `activate`, and `expand` events. You could return `false` to prevent default processing for example.

Sergey Dashko

unread,
Oct 18, 2017, 2:17:49 PM10/18/17
to Fancytree Q&A
Thanks.
I've tried 'activate' and this doesn't work and then I tried 'beforeActivate' and this did it.

Regards,
Sergey
Reply all
Reply to author
Forward
0 new messages