View Full Version : [3.3.0]Ext.grid.ActionColumn -> align

25 Jan 2011, 3:02 AM
hi team,

i just noticed, that there is a problem with alignment + Ext.grid.ActionColumn.
If you set a default-alignment for the CM itself like:

cm: new Ext.grid.ColumnModel({
defaults : {
align : 'right'
,sortable : true
,width : 80

you can not undo it by setting align:'felt' in the config of the action-column.

i only managed to fix it with a workaround:

,getClass: function(v, meta, rec) {
meta.attr = 'style="text-align:left;"';
return 'clock';

best regards