Hi! I need to align the results of summaries when i group a column, but the info appears without alignment,
I try this:
Example:
CITY: A TOT1: 100 TOT2: 400
CITY: B TOT1: 150 TOT2: 800
CITY: C TOT1: 300.50 TOT2: 400
CITY: D TOT1: 400 TOT2: 500
CITY: E TOT1: 450 TOT2: 600
Thanks!
I try this:
gTotal.Add(
New GridViewSummaryItem("Plaza", "{0} ".Trim().PadLeft(30, " "), GridAggregateFunction.First))
gTotal.Add(
New GridViewSummaryItem("Ipagoprox", "{0} ".Trim().PadLeft(30, " "), GridAggregateFunction.Sum))
Me.dgPrueba.MasterGridViewTemplate.SummaryRowGroupHeaders.Add(gTotal)
Example:
CITY: A TOT1: 100 TOT2: 400
CITY: B TOT1: 150 TOT2: 800
CITY: C TOT1: 300.50 TOT2: 400
CITY: D TOT1: 400 TOT2: 500
CITY: E TOT1: 450 TOT2: 600
Thanks!