Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Displaying multiple lines in a datagrid
 

Displaying multiple lines in a datagrid

I have a datagrid in which one of the columns is a text comment.  I would like to be able to display this text within mulitple lines in the grid column.  Currently, the grid is only displaying a single line of text which is only a single part of the comment.

Thanks in advance
MigrationUser 1  Wednesday, December 24, 2003 12:25 AM
What I believe you will have to do is create a custom column style that on focus it will show a multiple line textbox, though the issue would be that when focus is lost then it will only show one line.

Here is a link to help with custom column styles.

http://www.syncfusion.com/FAQ/WinForms/default.asp#44

Joe
MigrationUser 1  Monday, December 29, 2003 2:48 PM

You can use google to search for other answers

Custom Search

More Threads

• Binding datagridview to stored procedure
• how to catch row modification hwn user move to a dfferent row for windwos form detail view
• Issues with datagridview programatic update and data display
• Rowediting does not work?
• Procedure has no arguments were supplied
• DataGrid Validation
• detect when a row is being added in a datagrid control
• Can't populate ListBox from DataSet
• track the currently selected row in a datagridview
• Multi column ListBox with sorting