Browse by Tags
All Tags » WPF Data Grid » MasterDetail (RSS)
-
Hi,
I have Master Detail grid. Requirement is to show data in a combo box in Detail Grid column.
How do I add combo box? Any samples?
Below is my code -
DataGridCollectionView theView = new DataGridCollectionView(roomsListNew, typeof(ExchangeRoomResource), false, false);
theView.DetailDescriptions.Add(new ...
-
Thanks for your reply.
Your workaround gave me an idea that is currently working. It seemed to me that a new ''DataGridDetailDescription'' is created for each parent row, as opposed to using this object in a static way (no static methods). So, I created my own workaround by changing my implementation of the DataGridDescription class ...
-
I had already implemented a DataGridDetailDescription. It is working in the sense that I can expand any parent row and the child objects are displayed in child rows in a subgrid. See the code below: (modified slightly to rename the names of my variables)
class ParentDetail : ...
-
I'm trying to create a master / detail grid with a strongy typed dataset. The dataset contains two tables and the relationship between them. The xaml for the grid is.......
<xcdg:DataGridControl Grid.Row=''1'' AutoCreateColumns=''False'' Name=''dgAdverts'' ReadOnly=''True'' SelectionMode=''Single'' EditTriggers=''None'' ...
|
|
|
|