PDA

View Full Version : Ext.grid.EditorGridPanel column header and Ext.form.TextArea text alignment..



baven
18 Jun 2010, 12:54 PM
Hi,
I have aligned the column 'header' value to 'center', but the text inside the text area under that column also aligned to 'center'. How can I make text inside the textarea to align to the left and keep that column header text in center? [using extjs 3.2.1]


...
{
header: "Comment",
dataIndex: 'comment',
width: 75,
align: 'center',
resizable:false,
locked: true,
sortable: false,
editor: new Ext.form.TextArea({
allowBlank: true,
wrap : 'hard',
maxLength:255,
overflow:'auto'
//can I do something here to make text left-aligned???
})
},
...