Hey @priyatama, I assume you are talking about spreadsheet here. You can use the getSelectedItem method to get the current row/column, after that you can use undo() to revert the operation since we can't prevent it before it happens (as far as I know).
Here is an example with row 1 and column 1 both locked: https://snippet.webix.com/kvkesdbr. Please note that this method will only work with a context menu.
Comments
Hey @priyatama, I assume you are talking about spreadsheet here. You can use the
getSelectedItem
method to get the current row/column, after that you can useundo()
to revert the operation since we can't prevent it before it happens (as far as I know).Here is an example with row 1 and column 1 both locked: https://snippet.webix.com/kvkesdbr. Please note that this method will only work with a context menu.