Ticket AS12152
Visible to All Users

Grid List Editors - How do I show both master and detail records in the same grid control (aka master-detail)

created 18 years ago

I have added a Master/Detail-Controller to XAF-Win module. And this raises a few issues.
a) Loading of GridView Settings does not work for DetailViews
b) Localization does not work for DetailViews
c) Double Click for edit works in wrong manner.
I have marked and commented all relevant sections in the attached Screenshot. And will attach a small sample project to reproduce.

Answers approved by DevExpress Support

created 16 years ago (modified 5 years ago)

Currently, you can use the following solutions:
   1.  Use a built-in MasterDetailMode option described at Display a Detail View Together With a List View.
   2.  In ASP.NET, use the IModelListViewWeb.DetailRowMode option: ASPxGridListEditor - Support the master-detail mode.
   3.  In WinForms, use the Grid Control's Master-Detail Relationships. To enable master details in XAF, access the grid control as shown in the Access Grid Control Properties article and set its GridOptionsView.ShowDetailButtons and GridOptionsView.ShowDetailButtons properties to true. See examples in the following tickets:
T622001: Master detail view on detail view for related components
How to enable Master-Detail (Master Detail) mode in the grid control
   4.  Implement a custom List Editor, or provide a UserControl with the required functionality, as described in the following topics:
    eXpressApp Framework > Task-Based Help > How to: Show a Custom Data-Bound Control in an XAF View (WinForms)
    eXpressApp Framework > Task-Based Help > How to: Show a Custom Data-Bound Control in an XAF View (ASP.NET)
   5.  Use a ready-to-use and free eXpand module. It is demonstrated in the Common.Win module of the XVideoRental demo installed with XAF (C:\Users\Public\Documents\DevExpress Demos 1X.X\Components\eXpressApp Framework\XVideoRental).

    Show previous comments (1)
    Dennis Garavsky (DevExpress) 8 years ago

      @Libor Vylíčil: I've created a separate ticket on your behalf (T541048: Questions on implementing a custom master-detail functionality in a grid control). It has been placed in our processing queue and will be answered shortly.

        if this available for XAF.Win ? im running version 14.1

        Thanks,
        MArcelo.

        DevExpress Support Team 6 years ago

          Hi Marcelo,

          Yes, all the above WinForms-specific solutions are available in version 14.1. Which one are you trying to implement and what difficulties you faced?

          Other Answers

          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.