Apr 18, 2013, 1:02 PM
Override dafault cell aligment
Hi, I use grids with lot of number columns, and I usually set aligment to right using aligment property.
Is there any way how to set default aligment to number and datecolumn to right?
I try something like this (i use locale="cs-CZ")
Is there any way how change defaults? Or only options is to create new column?
Thank you
Is there any way how to set default aligment to number and datecolumn to right?
I try something like this (i use locale="cs-CZ")
Ext.define("Ext.locale.cs.grid.column.Date", {
override: "Ext.grid.column.Date",
align: "right"
});
and it works, but then I cannot set aligment using markup.Is there any way how change defaults? Or only options is to create new column?
Thank you