hyojin / material-ui-datatables

An another React Data tables component.
MIT License
165 stars 58 forks source link

checkbox and row selection event to be separate #3

Closed shaz-dev closed 7 years ago

shaz-dev commented 7 years ago

do you know how can I have two separate events for checkbox when checkboxes option is enabled and row/cell selection as a separate event? Currently, when selectable option is true, then cell click event doesn't work but only row selection event gets trigger which selects the checkbox. Please help..

Thanks

hyojin commented 7 years ago

@shaz-dev I don't think this is the best way but one of the solutions is to handle dom directly. https://facebook.github.io/react/docs/refs-and-the-dom.html https://facebook.github.io/react/docs/react-dom.html#finddomnode

hyojin commented 7 years ago

@shaz-dev When you have any other opinions, reopen it please.