Ticket T625547
Visible to All Users

GridControl - Detail view's rows disappear after editing the key column in the master view

created 7 years ago

[DevExpress Support Team: CLONED FROM T110105: Master rows are collapsed when the ListChanged event is raised]
Actually, it is broken in 17.1.7.  If you edit and post on the master record while the detail is expanded, the detail, while the detail itself remains expanding, all the detail records disappear from the display.

With 17.2.7 this doesn't occur and works fine.

[Updated]
It doesn't always work in v17.1.7 through 17.2.7.

In your demo it does.  In most of my apps it does.  But if the master row has one and only one field, and you edit and post the changes to that field while the detail is expanded, while the detail itself remains expanded (show columns heads for the detail), all the detail records/row collapse (there are zero records displayed).

Picture attached.

Answers approved by DevExpress Support

created 7 years ago

Hello Vince,

Thank you for the screenshot. It appears that the behavior you've faced is not directly related to the initial issue discussed in the Master rows are collapsed when the ListChanged event is raised thread. I reproduced this behavior using DataSet as the Grid's data source. On my side, this behavior occurs in both 17.1.7 and 17.2.7 versions. Please review the attached video. This behavior is explained in the Detail View Row disappears after adding thread. Please refer to Svetlana's answer for additional information and a workaround.

    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.