Deleting Rows

Tags: #<Tag:0x00007fd2c74e30a8>

In row one I have a list of headers. I would like to prevent the user from right clicking and deleting this row. Is there a way to do this while still allowing users to right click and delete other rows?


Sure! You can use beforeRemoveRow hook to check which row is being deleted and return false to block the action. Or use disabled callback of the context menu to disable option for selected rows. There is an example in our documentation:

Thank you. With this information I was able to remove the delete option for the first row.

There’s no update for more than a week so I guess that we can close the issue.

If there’s still something I can help you with please send me an email at