Browse by Tags
All Tags » WPF Data Grid » Master Detail (RSS)
-
In my application, I have licensing requirements to remove certain columns in different licensing scenarios. The following code works great (insert into the MasterDetail code sample, MainPage.xaml.cs, at the end of the MainPage() constructor (Line 37).
this.grid.Columns.Remove(this.grid.Columns[''LastName'']);
Like I said, this code works ...
-
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 ...
-
I am starting new thread as I did not get any reply for thread ''How to bind values(Collection) to Master/Detail grid?''. I am using Koch's sample from that thread.
I've few more requirements. 1. Change the column titles, 2. In Child grid column I want to populate data into combo box (in example below, ''Suggested Room'' column). 3. ...
-
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'' ...
|
|
|
|