Griddle
Griddle copied to clipboard
OnClickRow and Checkbox
I am trying to use a checkbox on the row. Also my row is clickable that is it triggers some action on clicking. I m using onRowClick for this.
However, when I click on the checkbox, the action on row should not trigger.
I have used
e.preventDefault(); e.stopPropagation();
in onChange and onClick of Checkbox. But the action still triggers on row. Is there way to not trigger the action on row.