Hi,
We need to set the size one or more of an UltraGrid's columns, so that they can contain the column header/ text, not more not less. The header text is decided at runtime, once (localization). These columns should not be widened / narrowed when resizing the whole grid.
I managed to to auto-resize the column according to the text by using PerformAutoResize(). However, when resizing the grid, the column width changed as well.
Any idea how I can reach the desired effect?
It only does that when you set UltraGrid.DisplayLayout.AutoFitStyle
Hi, I have a problem that my winGrid sits on a panel whose Anchor is set Left, Top and Right, So when the form is resized, the panel resizes but the columns of the grid are static and do not resize. What should I do to solve this?
Thanks a million!
It sounds like you want to set AutoFitStyle to ResizeAllColumns and then the columns in the grid will resize proportionally to fill the grid.