add computed totals

This commit is contained in:
hplattner 2012-04-13 09:51:35 +02:00
parent 0a1ba00684
commit 5c908b7b17

View file

@ -48,8 +48,8 @@ class DecimalField(Field):
pattern = u'#,##0.00;-#,##0.00'
renderer = 'right'
styleData = {'text-align':'right'}
decimalStyleData = dict(Field.style.data, **styleData)
style = TableCellStyle(**decimalStyleData)
styleData = dict(Field.style.data, **styleData)
style = TableCellStyle(**styleData)
def getDisplayValue(self, row):
value = self.getRawValue(row)