This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello Would it be possible with any of your components to accomplish the functionality seen here:
http://www.infragistics.com/samples/wpf/grid/hierarchical-data
I have hierarchical data where the children have other properties than their parent. Actually, it is not really necessary do show the children in a datagrid, it could just be a listing of the children that is shown when the user expands the parent. Could this just be solved using a custom template? Something like this(I know, the colors are horrible) http://www.codeproject.com/Articles/586132/WPF-DataGrid-Custommization-using-Style-and-Templa Edit: Would it be possible to use something like RowDetailsTemplate which is available in the normal WPF datagrid? Best regards |
|
|
Sorry Nicklas, Our DataGrid and MultiColumnTreeView only support homogeneous hierarchical data. All row objects need to share a common class, and the columns need to be properties on that common class. Our DataGrid and MultiColumnTreeView also don't have a row-details section. These are features we don't plan on adding in the near future. You may however be able to create a custom row style/template that contains something like a row-details section. Let me know if you have questions about this. -Jason Fauchelle |
|
|
Jason hi - do you have details / sample of how to do a row-details section ?? would a RowDetailsTemplate work on the Elements DataGrid ?? regards |
|
|
Hi Mark, We don't have any sample for this sorry, and we don't have a RowDetailsTemplate feature. I recommend starting by creating a custom row style for the DataGrid. Take a look at the files in the Themes folder within the install directory of WPF Elements. You can copy and modify any of the xaml code in there - so grab the DataGrid row style code and start from there. Let me know if you have further questions. -Jason Fauchelle |
|