PDA

View Full Version : Aggregation row



A.Rothe
15 Mar 2012, 11:47 PM
Hi,

How I can define my own algorithm to calculate the value of an aggregation row? I need some information from different columns of the grid, in example:

colA: boolean
colB: int
colC: currency

if (colA) {
value += colB * colC;
} else {
value += colC;
}

Is there a chance to implement that? I could use the renderer, but I have to look through the complete store just before I can render the aggregation row. Can I get the changes of the grid and calculate the aggregation value on the changes and display only a pre-calculated value later?

Thanks a lot
Andre :-?

alijutt8
24 Mar 2012, 2:50 AM
sounds good to me will come back soon and leave further comments