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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Increasing column cells to incorporate 2 lines of text

Thread ID:

Created:

Updated:

Platform:

Replies:

5279 Jun 27,2003 01:14 AM UTC Jun 27,2003 06:31 AM UTC Windows Forms 1
loading
Tags: GridControl
SUPRIYA GANGOLLI
Asked On June 27, 2003 01:14 AM UTC

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!

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;