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!
ADAdministrator 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);