add computed totals
This commit is contained in:
		
							parent
							
								
									0a1ba00684
								
							
						
					
					
						commit
						5c908b7b17
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -48,8 +48,8 @@ class DecimalField(Field): | ||||||
|     pattern = u'#,##0.00;-#,##0.00' |     pattern = u'#,##0.00;-#,##0.00' | ||||||
|     renderer = 'right' |     renderer = 'right' | ||||||
|     styleData = {'text-align':'right'} |     styleData = {'text-align':'right'} | ||||||
|     decimalStyleData = dict(Field.style.data, **styleData) |     styleData = dict(Field.style.data, **styleData) | ||||||
|     style = TableCellStyle(**decimalStyleData) |     style = TableCellStyle(**styleData) | ||||||
| 
 | 
 | ||||||
|     def getDisplayValue(self, row): |     def getDisplayValue(self, row): | ||||||
|         value = self.getRawValue(row) |         value = self.getRawValue(row) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 hplattner
						hplattner