Hi,
I'm using a WinTree in OutlookExpress mode. I need the column headers hidden but the columns should spread out to fill the available width.
I have the column headers turned off using:
ColumnSettings.LabelPosition = None
and the auto-sizing turned on using
ColumnSettings.AutoFitColumns = ResizeAllColumns.
The tree is fill docked.
The tree auto-sizes the columns perfectly when the column headers are displayed. But if I turn the column headers off as described above and increase the width available to the tree, the entire block of columns stays the same width and centers within the available space instead of auto-sizing the columns.
Am I missing some property setting? I'm not sure how having the column headers visible would affect the column auto-sizing.
Thanks!
Jim Honeycutt
That sounds like a bug to me. The visibility of the column headers should not affect the auto-sizing of the column. Do you have the latest Hot Fix? If so and the problem still happens, you should Submit an incident to Infragistics Developer Support. Include a small sample project demonstrating the behavior if you can.
I upgraded my project to the latest version of the controls and that fixed the issue. I hadn't realized I was on an older version. Thanks for your help!