Hello. First of all, I would like to say thank you for making tui-grid.
My questions are as follows:
Current situation
when copy-paste 2 or more rows in tui-grid
If it is the last row, the row is automatically appended and pasted.
Question
I know that this is an important and necessary feature.
However, I want to prevent users from registering additional data and only enable data modification.
However, I have no intention of blocking the copy function, so I want to keep it as it is, but the method to prevent it becomes complicated because the row is automatically added during paste.
Of course, I know that I can use updatedRows of getModifiedRow, but I can't use it in my situation.
So, is there a flag in the grid generation option or onPaste event where you choose whether to paste by adding and pasting some data according to the number of rows left at the moment?
Summary
Hello. First of all, I would like to say thank you for making tui-grid. My questions are as follows:
Current situation when copy-paste 2 or more rows in tui-grid If it is the last row, the row is automatically appended and pasted.
Question
I know that this is an important and necessary feature.
However, I want to prevent users from registering additional data and only enable data modification.
However, I have no intention of blocking the copy function, so I want to keep it as it is, but the method to prevent it becomes complicated because the row is automatically added during paste.
Of course, I know that I can use updatedRows of getModifiedRow, but I can't use it in my situation.
So, is there a flag in the grid generation option or onPaste event where you choose whether to paste by adding and pasting some data according to the number of rows left at the moment?
Or do you have any plans to add?
Version @tui-grid v4.21.19