I'm handling the QueryCoveredRange method like so where topRowIndex, bottomRowIndex are valid values.
e.Range = GridRangeInfo.Cells(topRowIndex, e.ColIndex, bottomRowIndex, e.ColIndex);
e.Handled = true;
When the grid is displayed everything looks great:
http://prntscr.com/w2awz
I'm also handling the TableControlCellClick event and making a call to see if the clicked row crosses any of the covered ranges like so:
if (grd.TableModel.CoveredRanges.Ranges.AnyRangeIntersects(GridRangeInfo.Row(e.Inner.RowIndex)))
The problem is, the CoveredRanges.Ranges.Count is always 0. The only way I've seen the CoveredRanges object populated correctly is if I manually add the ranges after binding the data instead of using the QueryCoveredRanges method.
Since there can be thousands of records we must take advantage of the QueryCoveredRanges call.
Has anyone ran across this and/or know what to do to help!?
Thanks,
-jv