Professional UI Solutions
Site Map   /  Register


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 General Discussion » CExtGridWnd Problem : How to fix size of a column on data grid ? Collapse All
Subject Author Date
exp lnt Jul 31, 2008 - 3:31 AM

Dear supporters,

I’m using a CExtGridWnd to display some fields.

I used first column on data gird to display checkboxes.

Could you please tell me know how to fix size of the column ?

Thank you,

Technical Support Jul 31, 2008 - 1:13 PM

The CExtGridWnd control uses header cells in outer header areas to keep information about row widths and column heights. If you have inserted outer header row at top, the grid cells in it will be used for storing column widths. You should use the CExtGridCell::ExtentSet() for header cells in outer top row to set minimal/current/maximal column widths. If all 3 widths value are equal, then the column will not be resizable.

exp lnt Jul 31, 2008 - 8:49 PM

Hello ,

I got it,

Thank for your support  !.