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 Tech Support » Grid Question Collapse All
Subject Author Date
David Skok Aug 14, 2008 - 7:47 AM

Is it possible to fix the width of some columns while the rest are proportional?

Thanks, Dave

Technical Support Aug 15, 2008 - 3:13 PM

Both proportional widths and pixel widths are supported for columns in a grid window at the same time. The proportional widths are applied during resizing for changing current widths of each of columns. The minimal and maximal column widths in pixels can be used for restricting the current column width both during proportional resizing and drag-n-drop based resizing by the user. You can set the minimal/current/maximal column width in pixels to the same values using CExtGridCell::ExtentSet() method of a column header cell and this column will not be resized proportionally, the user will not be able to resize it manually and the resizing cursor will not appear when the mouse is near separator at the right side of header cell.