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
855
When to Resize With Visible Columns Option
posted

Hi.  I'm using the WinGrid version 10.2 and have a question about column resizing.

When I load a grid with data, and call:

column.PerformAutoResize(PerformAutoSizeType.VisibleRows);

The columns are sized based on the column header data, not the data in the rows.  The columns must resized manually.  If I used the AllRows option, the columns resize.

Is there a "trick" to using the .VisibleRows option?  Should it only be used during certain grid events?