Description
Is your feature request related to a problem? Please describe.
I'm trying to trigger a query or action based on the row that the user double-clicked in a table. However, when using the "Double Click" event on the table component, the row is not automatically selected before the event fires. This means that selectedRow may still refer to a previously selected row – not the one the user just double-clicked. There’s currently no reliable way to access the row that triggered the double-click directly from within the event context. This makes it impossible to use double-clicks for precise row-based actions (e.g., opening a modal or running a query with data from the clicked row).
Describe the solution you'd like
I’d like the double-click event handler on a table row to either:
- Automatically update selectedRow to match the double-clicked row before the event actions are executed,
or - Provide a triggeredRow (or similar context variable) in the double-click event, so the row data can be used directly without relying on selection state.
Describe alternatives you've considered
I tried using temporary state to store the row on single-click and retrieve it later on double-click. However, this is error-prone and unreliable in fast user interactions. I also tried using currentRow, but it doesn’t seem to be defined in the double-click context. Relying on selectedRow is not viable because it may point to a different row if the user previously clicked another one.