View Full Version : drawing a form element in columngrid renderer

26 Apr 2010, 3:35 AM
Hello everyone,

I have a columngrid, and one column has text data that can be represented in a Ext.form.Textarea object (I use a Textarea in the editor). I would like to use a (disabled?) textarea to display the value of the field even when the column isn't clicked (not in edit mode).
I am trying to do this by changing the "renderer" function for that column, but unfortunately I must pass as output a string which is interpreted as html.
Can I "convert" a form element (Ext.form.Textarea) to html so that it would be rendered propperly? If yes, how? Is what I'm trying to do even possible, or is it a lost battle?