I am working on a hierarchial data grid control that will eventually be a pivot grid. I started out using the RadTreeView and made it horizontal. Image one (horizontaltreeview1.png) shows this. The way I build the data column underneath is to capture an event (tried treeview.loaded,sizechanged,item prepared...) and then add columns to a grid I have sitting underneath the tree view control. I loop through all visible items in the tree and make the border and column definition the same width as the item. This works with the exception of an item that is expanded because instead of a width of say 96 pixels it is 577 pixels because it is stretched as in item 0 in horizontaltreeview2.png. This causes the columns in the grid to not be lined up with the columns in the tree. I was thinking maybe a TreeListView would be the route to go but was wondering if that can be made to have a Horizontal layout where the tree is the header on top and instead of columns for data there is rows. Basically looking for the best control to use in order to have the data rows line up with their columns. thanks.
Wanted to add one final image. The grid column width for the data column representing the expanded column should only be the width of the area on the red circle in HorizontalTreeView3.png
Wanted to add one final image. The grid column width for the data column representing the expanded column should only be the width of the area on the red circle in HorizontalTreeView3.png