add default style for DecimalField

This commit is contained in:
hplattner 2012-04-12 11:21:15 +02:00
parent d583f0e980
commit a41a541baf

View file

@ -47,7 +47,7 @@ class DecimalField(Field):
format = 'decimal' format = 'decimal'
pattern = u'#,##0.00;-#,##0.00' pattern = u'#,##0.00;-#,##0.00'
renderer = 'right' renderer = 'right'
coltextalign='right' style = {'text-align':'right'}
def getDisplayValue(self, row): def getDisplayValue(self, row):
value = self.getRawValue(row) value = self.getRawValue(row)