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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Behaviour of GetSelectedRows when whole table is selected

Thread ID:





11877 Mar 17,2004 01:50 PM UTC Mar 17,2004 04:32 PM UTC WinForms 1
Tags: GridControl
Samuel Jack
Asked On March 17, 2004 01:50 PM UTC

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?

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon