Hi all,
Is there a way to get the currently selected cell from the API?
I can only see methods to get the selected cells range, but I need a way to get the cell that is the current one on focus within the range.
Thank you!
Hi all,
Is there a way to get the currently selected cell from the API?
I can only see methods to get the selected cells range, but I need a way to get the cell that is the current one on focus within the range.
Thank you!
1条答案
按热度按时间pdtvr36n1#
Hi all,
Same request here. The focused cell is not always the top left cell of a range, as the user can select a range by dragging from right to left and from bottom to top.
The event options.hook.rangeSelect provides this information through two properties on its range parameter: row_focus and column_focus. Would be nice to access this same information through an api call.