material-table icon indicating copy to clipboard operation
material-table copied to clipboard

onRowDblClick function

Open calebhypes opened this issue 7 years ago • 4 comments

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

calebhypes avatar Apr 15 '19 14:04 calebhypes

Is this feature added?

kwasik-com avatar Oct 22 '19 11:10 kwasik-com

Is it? Or are there any alternatives? It would be very useful. Thank you in advance

TorokEni avatar Mar 18 '20 20:03 TorokEni

I found a workaround, inside the onRowClick function i can use the following: onRowClick={(evt, selectedRow) => { (evt.target as HTMLElement).ondblclick = () =>{} }

TorokEni avatar Mar 21 '20 17:03 TorokEni

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.

stale[bot] avatar Jul 05 '20 19:07 stale[bot]