This question is locked. New answers and comments are not allowed.
I have a RadGridView with AutoGenerateColumns set to false. I have several GridViewDataColumns that I define for the grid, all with HeaderText set and with different UniqueName fields defined. I am using a collection of objects defined within my application to populate the grid. Each of the UniqueName values corresponds to a property name in the object begin used on a per row basis. However, one of the properties of the objects is really another object with properties of it's own. You can see this below on line 9. I have attempted to use the object name "TaskStatus" along with the property ".Name" - but that doesn't display anything in the grid. Is there any way to get the grid columns to bind correctly to contained objects within the objects within a list sent off to the ItemsSource of the grid?
| <gridView:RadGridView Name="grdTasks" ColumnsWidthMode="Auto" AutoGenerateColumns="False"> | |
| <gridView:RadGridView.Columns> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="True" HeaderText="ID" UniqueName="TaskId"/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="True" HeaderText="Name" UniqueName="Name"/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="True" HeaderText="Description" UniqueName="Description"/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="True" HeaderText="Parent ID" UniqueName="ParentTaskId"/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="True" HeaderText="Due" UniqueName="DueDate" DataFormatString=""/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="False" HeaderText="Active" UniqueName="IsActive"/> | |
| <gridViewExtras:GridViewDataColumn IsReadOnly="False" HeaderText="Status" UniqueName="TaskStatus.Name"/> | |
| </gridView:RadGridView.Columns> | |
| </gridView:RadGridView> |