Hello to all readers,
i have an Ultragrid control and i am building the total sum for a column using summarysettings.
that works fine.
UltraCalcManager calc = new UltraCalcManager(); e.Layout.Grid.CalcManager = calc; e.Layout.GroupByBox.Hidden = true; SummarySettings summary = e.Layout.Bands[0].Summaries.Add("G_MENGE" , SummaryType.Sum , e.Layout.Bands[0].Columns[3] , SummaryPosition.UseSummaryPositionColumn); summary.DisplayFormat = "Total = {0}"; ultragrid1.DisplayLayout.Bands[0].SummaryFooterCaption = "Statistik";Now i need a calculated column which computes with the total sum of [col3]. But i don't now how!!!Please help me.
Hi,
I'm afraid I do not understand your question. The code you have here will display the sum of column 3. How is that different htan the "total sum of [col3]"?
By the way, the SummaryType.Sum is a summary type built-in to the grid. You do not need to use a CalcManager for that.
Sorry for my english :(
I want to calculate in col4 with the sum of col3
e.g. value of cell1(col4) * 100 / sum(col3),
cell2(col4) * 100 / sum(col3)
SOLVED: I' using PL/SQL -> ratio_to_report