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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridControl - Delete selected row

Thread ID:

Created:

Updated:

Platform:

Replies:

17968 Aug 20,2004 01:24 PM UTC Aug 20,2004 01:59 PM UTC WinForms 2
loading
Tags: GridControl
kevin musters
Asked On August 20, 2004 01:24 PM UTC

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

Administrator [Syncfusion]
Replied On August 20, 2004 01:59 PM UTC

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.

Warning Icon 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.Close Icon

;