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

Behaviour of GetSelectedRows when whole table is selected

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?

1 Reply

AD Administrator Syncfusion Team March 17, 2004 04:32 PM UTC

There has been no change in this behavior for 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.

Live Chat Icon For mobile
Up arrow icon