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

Remove Range

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!

1 Reply

AD Administrator Syncfusion Team March 21, 2007 02:35 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon