We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Setting column width in designer?

I'd like to adjust the width columns in a databound grid. I tried though the databound columns collection where I can see and change the style info. Unfortunately, I can't find a width property? Is that possible to set column widths using the designer instead of programatically? Is is possible to see the column with the specified width? Actually, all the columns have the same width in design mode. Thanks.

1 Reply

AD Administrator Syncfusion Team July 14, 2003 05:31 PM UTC

Currently, you would have to derive your own GridBoundColumns to do this. Here is a sample that adds a Width property to a CustomGridBoundColumn. Width can be used at both design time and runtime as long as it is not zero. It has a Northwind datasource set in the designer, so you may have to tweak that to get it to run on your system.

Loader.
Live Chat Icon For mobile
Up arrow icon