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.
Unfortunately, activation email could not send to your email. Please try again.

GridControl - Delete selected row

Thread ID:

Created:

Updated:

Platform:

Replies:

17968 Aug 20,2004 09:24 AM Aug 20,2004 09:59 AM Windows Forms 2
loading
Tags: GridControl
kevin musters
Asked On August 20, 2004 09:24 AM

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

Administrator [Syncfusion]
Replied On August 20, 2004 09:56 AM

figured out something... int r = gridControl1.CurrentCell.RowIndex; gridControl1.Rows.RemoveRange(r, r); Should I stick with this? Or is there a better method?

Administrator [Syncfusion]
Replied On August 20, 2004 09:59 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;