Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I have observed that when a grid is editable, pressing the del key will delete a record, then Ins key will insert a record and Ctrl V will paste the clipboard into the grid. (I am using EditMode.Batch , SelectionMode.Cell, CellSelectionMode.Box, AllowEditing="true, AllowAdding="true, AllowDeleting="true")
I would like to be able to suppress the Ctrl+V, Del and Ins behavior and force all of these actions to occur through buttons that i can control. Can we get the following additional EditSettings?
AllowCtrlV, AllowDelKey, AllowInsKey
These are pretty powerful functions with potential for data loss, so I believe that they should be "Opt In" (ie default false). Alternatively, is there any other way this can be achieved.
Note that I considered capturing the OnKeyDown events, but I don't want to suppress the behaviour completely. I'd like the Del and Ins key to retain their "standard" function by editing within the grid cells and only suppress the row-level behaviour.
I suppose another way of doing it is to intercept the OnBatchDelete and OnBatchAdd events, but I would need a way of knowing how these events were triggered (ie. from keyboard or a button)