Posted 5 August 2019, 4:58 am EST
Hi, I am having problems I have both text that wordwraps and text with carriage returns in a row on a form, and have used to code below (as found on these forums). But everything still appears as a single row.
grdNotes.AllowRowSizing = C1.Win.C1TrueDBGrid.RowSizingEnum.IndividualRows
For Each col As C1.Win.C1TrueDBGrid.C1DisplayColumn In grdNotes.Splits(0).DisplayColumns If col.DataColumn.Caption <> "" Then col.AutoSize() col.Style.Wrap = C1.Win.C1TrueDBGrid.TextWrapping.Wrap End If Next For r As Integer = 0 To grdNotes.Splits(0).Rows.Count - 1 grdNotes.Splits(0).Rows(r).AutoSize() Next