This example illustrates how to emulate a master-detail mode for the LayoutView/CardView.
Question Comments
Added By: Marcus Gabriel at: 8/20/2013 11:44:10 AM
A screenshot how the result looks would help to quickly find out if this sample is what someone is looking for.
Added By: Svetlana (DevExpress Support) at: 8/20/2013 1:05:06 PMHi,
I have added an image showing how the application works. Thank you for your idea.
Added By: Sean Birmingham 1 at: 8/8/2015 5:33:30 PMI am attempting a similar solution but the layout view (lvPictures) is itself a detail view (of gvLocation) and I want the detail grid view displayed in the PopupContainerControl to be a view (gvPicTags) I've created in the grid designer that itself uses editors created in the grid designer's In Place Editor Repository to add/update/delete records in gvPicTags. Is this possible?
I've implemented the solution posted here to display the detail grid but doesn't appear to be picking up the grid layout (gvPicTags) I've created. It does however display the raw data correctly...
Added By: Sean Birmingham 1 at: 8/8/2015 6:14:13 PMFunny, sometimes writing a question helps clarify the solution...
In the lvPictures_GotFocus I execute:
helper = New MasterDetailHelper(layoutView1, ViewType.Grid, gvPicTags)
helper.CreateDetail()
LayoutView1 is the sender object (lvPictures) and I added an additional parameter referencing the detail grid view (gvPicTags) which I created in the designer. In CreateView() I changed the detailView_Renamed assignment for GridView from New GridView(DetailGrid) to the detailGridView (gvPicTags) which I passed via the new parameter.