Hi Mat,
You will need to use TableStyles to adjust the widths. Here is sample code that shows how to adjust the width based on the largest value in a column. It will show you how to make the appropriate adjustments.
http://www.syncfusion.com/faq/winforms/search/877.asp>I have a form with a grid and some simple data binding like this:
>
>this.grdTest.SetDataBinding(myData, null);
>
>The form displays myData in the grid, but I have not set a TableStyle or ColumnStyle Collection, so the grid just displays all the data, which is what I want.
>
>The question is, the number of columns in this grid will vary based upon different calculations. So can I access the column properties at run time?
>
>I would like to set Alignment and Width, but I don't know how. Any help is greatly appreciated.
>
>Kind Regards,
>
>Mat
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi