When using the plug-in Select, how do I remove the click event from firing on the entire row?

When using the plug-in Select, how do I remove the click event from firing on the entire row?

philipimperatophilipimperato Posts: 1Questions: 1Answers: 0

I would like to use the Select plug-in. I would also like to have the clicking on a row to open up a child table.

Right now I am unable to do that because the clicking of the row opens the child table AND selects the row.

I have tried what I believe was everything in the docs & a stopPropagation() within the row click handler but I believe the click events are on the same element <tr> so it had some weird behavior.

Has anyone solved this or does the plug-in have a solution I am not aware of?

Answers

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    I'd normally suggest using a checkbox column for row selection, and then another column for the child row expansion.

    Allan

Sign In or Register to comment.