Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
29
Resize column to fit column header
posted

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?