Is your feature request related to a problem? Please describe.
Having the ability to differentiate actions based on single row click and double click similar to MUI's <TableRow /> component from within the <MaterialTable /> component would be nice.
Describe the solution you'd like
A property onRowDblClick that takes a function that has access to the event and rowData values.
Describe alternatives you've considered
using timers to determine if the action is a double click in conjunction with rowData.tableData.checked
Is this feature added?
Is it? Or are there any alternatives? It would be very useful. Thank you in advance
I found a workaround, inside the onRowClick function i can use the following:
onRowClick={(evt, selectedRow) => {
(evt.target as HTMLElement).ondblclick = () =>{}
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Most helpful comment
I found a workaround, inside the onRowClick function i can use the following:
onRowClick={(evt, selectedRow) => {
(evt.target as HTMLElement).ondblclick = () =>{}
}