We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Increasing column cells to incorporate 2 lines of text

HI! Can you pls help me to increase the cell height of the 1st column to incorporate 2 lines of text with the 1st line in one font say Arail with size 20 and bold,and the 2nd line in another font say tahoma with size 9 and regular. Thanks in advance Supriya!

1 Reply

AD Administrator Syncfusion Team June 27, 2003 06:31 AM UTC

In a GridControl, you set the row height with code like this.gridControl1.RowHeights[1] = 30; // height of row 1 For a GriddataBoundGrid, you would use the gridDataBoundGrid1.Model.RowHeights. You can also call RowHeights.ResizeToFit passing in a range to allow the grid to autosize the heights of the cells in the range.

Live Chat Icon For mobile
Up arrow icon