There seems to be an incosnsistency about the behaviour of GridModelSelections.GetSelectedRows() in RC1 when a whole table is selected (by clicking on the top right cell). Rather than returning a range with RangeType Rows, it returns a Table Range. Surely the purpose of GetSelectedRows is to return a Row range, not a table Range?
ADAdministrator Syncfusion Team March 17, 2004 11:32 AM
There has been no change in this behavior for 126.96.36.199. Versions 6''s also return Table.
So, we will need to study whether changing this behavior will break existing code, and then make the decision whether to change how this works.
For now, if you need only row ranges, then before using the ranges returned by GetRowRanges, you should check teh RangeType and handle a Table range as a special case tailored to your particular needs.