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

Behaviour of GetSelectedRows when whole table is selected

Thread ID:

Created:

Updated:

Platform:

Replies:

11877 Mar 17,2004 08:50 AM Mar 17,2004 11:32 AM Windows Forms 1
loading
Tags: GridControl
Samuel Jack
Asked On March 17, 2004 08:50 AM

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 11:32 AM

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

CONFIRMATION

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.

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.

;