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.
Is it possible to delete a selected row in a GridControl as you would in a DataBoundGrid?
My grid is built by values, but no datasource. So I concluded GridControl was my best option. I need to delete rows like I would in a DataBoundGrid. If I used a DataBoundGrid, could I still manually add a combobox, button, and checkbox like I do for the GridControl?
thanks for your help,
musters
ADAdministrator Syncfusion Team August 20, 2004 01:56 PM UTC
figured out something...
int r = gridControl1.CurrentCell.RowIndex;
gridControl1.Rows.RemoveRange(r, r);
Should I stick with this? Or is there a better method?
ADAdministrator Syncfusion Team August 20, 2004 01:59 PM UTC
grid.Rows.RemoveRange is the way to remove rows in a GridControl.