Wrapping Text in Column of Windows DataGrid Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a Windows Datagrid Control on a windows form. I have created the columns for the Datagrid dynamically. I am binding the datagrid columns to a Dataset. One of the columns in the Dataset contains a lot of text. My requirement is that the text should be displayed on the Datagrid column [the width i have fixed for the column is 300]. Since the text is very big, the whole text is not displayed in the column.
Could anyone suggest any method by which I can wrap the text in the Datagrid column so that the height of the column increases automatically and the text fits in the column without resizing.
Basically what i want is the word wrap functionality in the datagrid column.

Thanks in advance.
Ganesh Nayak
 
Back
Top