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

GridStaticCellRenderer and Selection

We are using a custom control in a virtual grid using the GridStaticCellRenderer. However we only want to "hottrack" if the row it is in has selection. Is there a way to detect if the currentcell is part of a row that has selection? (I could write a utility but I figured currentCell.IsSelected or something of the like might exist allthough I didnt see anything)

1 Reply

AD Administrator Syncfusion Team March 22, 2004 05:13 PM

To see if the CurrentCell is in a selection, you can try if(this.grid.Selections.Ranges.AnyRangeContains(this.grid.CurrentCell.RangeInfo)) { }

Live Chat Icon For mobile
Up arrow icon