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.

Remove Range

Thread ID:

Created:

Updated:

Platform:

Replies:

58248 Mar 21,2007 06:49 AM Mar 21,2007 10:35 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 21, 2007 06:49 AM

hi,

let says the datagrid range is {R6:R8}, how to i remove the range R7 programmatically and make R6 and R8 remain selected?

Thanks!

Administrator [Syncfusion]
Replied On March 21, 2007 10:35 AM

Hi Lim,

Use the Model.Selections property to manages selected ranges in the grid. It allows you to add, remove and get selections, determines selection state of a specific cell.

this.grid.Model.Selections.Add(GridRangeInfo.Rows(3,5));
this.grid.Model.Selections.Remove(GridRangeInfo.Row(4));

Best regards,
Haneef

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.

;