I want to print my GridView,when i set gv.PrintStyle.FitWidthMode = PrintFitWidthMode.FitPageWidth, the header text can not wrap automatically. The row text can wrap automatically, but its height can not grow automatically, how to do, thanks.
If you set the GridViewColumn.WrapText property to true, the data rows together with the header rows are with wrapped text. Please refer to the attached screenshot illustrating the behavior on my end.
foreach (GridViewColumn col in this.radGridView1.Columns)
{
col.WrapText = true;
}
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items