Bug Report Q551276
Visible to All Users

Modifying the properties of a grouped column scrambles grouped rows if the last record in a group is in edit mode and this group is not the last in a group list

created 11 years ago

Hi,
We found a
problem with the cxgrid when we change a property of a grouped column. With a
tcxgrid with the OptionsCustomize.ColumnHidingOnGrouping set to false, if you
select the last row of a group in edition, and then change a property of the
column used for grouping, the selected row will get out of its group and move
to the next group. It only happen with the last row of the group, and only if
we change a property of the grouped column. We found a workaround by
setting the option ColumnHidingOnGrouping to true, but this is not suitable for
us since our client want all column to be visible on the grid.

Attached is
a small sample, here how to recreate this problem.

-
Group
the view with the PaymentType column

-
Expand
any group except the last one. Let say you expand the PaymentType : 3 (7)
-
Select
the last row, “Michael Jeffers”

-
Click
on the Edit button
-
Click
on the Change visibility button

As you can
see, the selected row has moved on the next group and is no more selected.

Is there
any fix for that?

Thank you!

Comments (1)
DevExpress Support Team 11 years ago

    Hello,
    I have reproduced the described behavior and forwarded this ticket to our developers for research. However, I am not absolutely sure that this behavior is incorrect. It is dangerous to change the view and column properties that require ViewInfo recalculation while the DataController is in edit mode.

    Answers approved by DevExpress Support

    created 11 years ago (modified 11 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (1)
      ST ST
      Stéphane Tanguay 11 years ago

        Thank you. Very fast fix! I,ll try it asap.

        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.