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
close icon

Record rangeinfo of covered cells

In GridControl or GDBG, I select a rectangle of cells by mouse or key behavior. Which event should be right to record the covered rangeino? Some columns covered are hidden so I want to get the real (possibly uncontinued) column index. Thanks a lot!

1 Reply

AD Administrator Syncfusion Team January 12, 2005 06:31 AM UTC

I am not sure I understand exactly what you ned. But given a row and col for a clicked cell, you can use the CoveredRanges.FindRange method to return the covered range containing the cell at row, col. It returns GridrangeInfo.Empty if the cell is not covered. GridRangeInfo range = this.gridDataBoundGrid1.Model.CoveredRanges.FindRange(row, col);

Loader.
Live Chat Icon For mobile
Up arrow icon