I want to get the exact cell (reference including the address, not just the value) the onContextMenuItemSelect event only pass the menu item and not the cell on which the context menu was opened. I was looking for a context menu item click event but I didn't find any. Is there a way to get a reference of the cell when a context menu is opened?
SPSangeetha Priya Murugan Syncfusion Team March 27, 2023 09:27 AM UTC
Your requirement can be achievable by
using the getActiveSheet method, activeCell and selectedRange
property. The activeCell property returns the current sheet active cell and selectedRange
property returns the range of selected cells in active sheet as shown below.