Want to prevent rows from being added when pasting

I would like to prevent the number of rows from exceeding a specified number (for example, 100).
If rows are added from the toolbar or context menu, the event can be suppressed using beforeAction addRow or beforeRowAdd, but if multiple rows of cells are pasted in excess of the number of rows displayed, additional rows will be added.
Is there a good way to do this?

Hello,

Unfortunately, this is not possible at the moment. I have added your request to our development tracker, and I will keep you updated if there is any new info about this.