Posted 8 September 2017, 12:49 pm ESTIn the sample HierarchyVB the relationship is three tier and all columns (those in Parent, Child and Grandchild) appear to have a set column width. In the sample code I see where three columns are getting their width set on the FrmHierarchy_Load. Where are the column widths being set for the grandchild view? I'm working on a project with a three tier view and need to format the column widths in my grandchild view.
Posted by: maggiemae on 8 September 2017, 12:49 pm EST
Replied 8 September 2017, 12:49 pm ESTIt looks like they are set in the SetChildViewStyle sub routine.<br>
Replied 8 September 2017, 12:49 pm ESTI don't see that sub routine in my sample. I am using FarPoint Technologies\Spread.WinForms.v25 for Visual Studio 2005\v2.5.2010\Samples\Vb\HierarchyVB
Replied 8 September 2017, 12:49 pm ESTI apologize. I thought you were looking at the hierarchy example in the demo. In this example they are not setting the widths in the children. If you want to do so you can use the ChildViewCreated event...<br><br>e.SheetView.Columns(0).Width = 200<br>