We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GridControl - Delete selected row

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

2 Replies

AD Administrator 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?


AD Administrator Syncfusion Team August 20, 2004 01:59 PM UTC

grid.Rows.RemoveRange is the way to remove rows in a GridControl.

Loader.
Live Chat Icon For mobile
Up arrow icon