The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am programming the grid in virtual mode, so far I can populate the grid and add new rows, but how do I delete them? I prefer to delete by hitting the delete key.
Thanks in advance,
Thomas
ADAdministrator Syncfusion Team November 18, 2002 10:33 PM UTC
In a virtual grid, you delete a row of data by removing the row from your external data source and then redrawing the grid. The grid only displays what is in the external data source.
So, if you want to initiate this deletion process when the user presses the delete key, you could handle the CurrentCellKeyPress event, and if the keyCode is Keys.Delete, then do whatever you need to do to your external data source to remove the current row.