Bug Report B90812
Visible to All Users

Cells are selected incorrectly when the view is grouped

created 17 years ago

There is a problem with the SelectCells method. When the grid is grouped it selects incorrectly the range specified.
This problem is affected by the number of groups in the grid.
Steps to Reproduce:
In the example provided select a cell, for instance the cell that has the "alpha" value.
Notice that below the textbox shows which is the rowhandle that is selected, now hit the "Select" button.
The "Select" button calls the GridView::SelectCells(rowhandle1, column1, rowhandle2, column2) method using the FocusedRowHandle and FocusedRowHandle + 1.
Actual Results:
What is actually selected is FocusedRowHandle+1 and FocusedRowHandle+2.
Expected Results:
It should have selected the FocusedRowHandle and FocusedRowHandle+1.

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.