AD
Administrator
Syncfusion Team
October 8, 2004 01:19 PM UTC
Hi Dominic,
you are right - when column widths are calculated right now only the contents of records are considererd.
To fix this problem we recently added a new member property to GridSummaryColumnDescriptor. It is called MaxWidth and allows you to specifie the maximum length of the formatted text for this summary column. This value will be used for calculating the optimal width of a column. The default is the length of the Format text plus 5.
We are also trying to find a solution to make this automated but don''t have anything in place for that yet.
With 2.1.0.9 code the only way around is to manually set the column width.
Stefan