Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
How to Wrap text in GroupByRow ?
posted

i have a grid that is:

- grouped by Country

- then group by city

- then comes the detailed data.

the first group's row's value (country) contains a long concatenated string beside country name (ex:population, area, ..etc)

so the value doesn't fit in one row and is being cut.

1- i have resized the row in Grd_SO_InitializeGroupByRow(...) >> e.Row.height = 80; //it made the row's height bigger but the text is still cut.

2- i tried 

UltraGridGroupByRow groupByRow = e.Row as UltraGridGroupByRow;
groupByRow.Band.Override.RowSizing = RowSizing.Free;
groupByRow.Band.Columns["country"].CellMultiLine = DefaultableBoolean.True;

and

foreach(UltraGridGroupByRow groupByRow in Grd_SO.Rows)
 groupByRow.Band.Override.WrapHeaderText = DefaultableBoolean.True;

3- i tried WrapHeaderText // but it wraps the header of the detailed data's column headers.

how can i please wrap the text that shows in a specific groupBy row as the (country) mentioned above.

Parents Reply Children