This may have been covered before, but I couldn't find the solution in the archive.
I have a grid that contains notes for an account. The columns are laid out on two "rows":
"Date","Type","Reason","Creator",".","Text", "-", "-", "-"
The columns Date, Creator and Text columns are static, and the remaining are ComboBox cells. I am manually setting the widths of the columns.
What I want is for all of the text in the Text column to be displayed. To this end I have configured the GridBoundColumn like this:
gbc = new Syncfusion.Windows.Forms.Grid.GridBoundColumn();
gbc.MappingName = "Text";
gbc.HeaderText = "Note Text";
gbc.StyleInfo.CellType = "Static";
gbc.StyleInfo.AutoSize = true;
gbc.StyleInfo.WrapText = true;
Then once the DataSet has been filled, I call this method in my attempt to get the RowHeights adjusted:
End result is that only a single line of text is shown regardless of the amount of text in the Text column for each row.
What am I missing?
ADAdministrator Syncfusion Team March 2, 2003 05:05 PM
The multirowrecords rely on a covered cell pattern, and your resize call does not include the ResizeCoveredCell flag in the GridResizeToFit options that you passed in. So, that might be the problem. Try adding this flag in your ResizeToFit call.