:: Forum >>

including textarea in one of the column

Our Grid has 4 cloumns and the last column contains a text area.
I have tried to include this text area by writing a html in the data itself
like

var myData = [["12-JAN-2005 00:00", "Phantom", "Waiting", '<TEXTAREA NAME="" ROWS="1" cols="116" type="text/css" style="FONT-FAMILY: arial; FONT-SIZE: 10;">Processing entered</TEXTAREA>'],

["12-JAN-2005 00:00", "Phantom", "Waiting", '<TEXTAREA NAME="" ROWS="1" cols="116" type="text/css" style="FONT-FAMILY: arial; FONT-SIZE: 10;">Processing entered</TEXTAREA>']
];

But problem with this approach is when i resize my last column size of the textarea doesn't change.

What i want is width of this textarea should change when i resize my column width. Suggest me if you have any ideas how to do it?
Praveen Kumar Kalapatapu
Sunday, November 28, 2004
You can try to add 'width:100%' to your textarea style attribute. Even better would be to use separate style tag instead of inline styles.
Alex (ActiveWidgets)
Sunday, November 28, 2004

This topic is archived.


Back to support forum

Forum search