Spreadsheet Cell Double Click

Hello,
Im using the spreadsheet widget with the readonly property set. I would like the user to be able to double click on a cell and then show data that tells the user how the number in the cell was established. I dont see an event for a cell double click to implement something like that. Is there a way to capture the cell double click event?

Thanks,
Pieter

Hello Pieter,

To add double click functionality you need to get access to the datatable view inside the spreadsheet view in the onAfterLoad event:
const table = $$('ssheet').$$("cells");

And the datatable view has the onItemDblClick event which you can use.
Please take a look at the example: Code Snippet

Great, I’ll try that. Thank you