Multiline textbox in grid

Hi

How to add multiline textbox to the grid...
I want to add column for comments in the grid. comments should be multiline textbox how to get this...


Thanks

1 Reply

AD Administrator Syncfusion Team February 21, 2007 03:26 PM UTC

Hi,

Here is a code snippet to show you "How to add multiline textbox to the grid?". Please try the attached sample and let me know if this helps.

this.grid.Model[2,2].CellType = "TextBox";
this.grid.Model[2,2].AllowEnter = true;
this.grid.Model[2,2].WrapText = true;
this.grid.Model[2,2].AutoSize = true;

Sample : GC_AutoSize.zip

Best regards,
Haneef

Loader.
Up arrow icon