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 » How to set column width in grid? Collapse All
Subject Author Date
Offer Har Feb 1, 2007 - 7:59 AM

Dear Support,

How do i set a column’s width in a grid from the code? I can’t find any ColumnWidthSet function.

Best Regards,
Ron.

Technical Support Feb 1, 2007 - 11:26 AM

There is a header row in each of three grids inside the property grid control. The header row is invisible because its its height set to zero. You should get the header cell in the first column and use its ExtentSet() method to specify the column’s width.