Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » column resizing in report grid Collapse All
Subject Author Date
Paul Cowan Sep 20, 2007 - 12:27 PM

After double clicking on a column header to auto resize the column width, the column is resized correctly, but all the other columns to the right are resizeed very small. It appears the grid is resizing the columns so all the columns will fit on the screen. How do I stop the grid from resizing the other columns?

Paul Cowan Sep 20, 2007 - 1:43 PM

So how do I turn off auto resizing for the columns?

Suhai Gyorgy Sep 21, 2007 - 1:27 AM

If I understood the problem right, you should remove__EGBS_BSE_EX_PROPORTIONAL_COLUMN_WIDTHS style with the use of CExtGridWnd::BseModifyStyleEx method.

Technical Support Sep 20, 2007 - 1:00 PM

We guess you are using the auto resizing feature for columns in your grid control. That means when you best fit some column, then all the other columns on the right should be resized because in the auto sizing mode the summary width of all the columns should be the same as the width of grid’s client area.