Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Setting order or summary rows
posted

 

in _InitializeLayout(object sender, InitializeLayoutEventArgs e) event, i am adding manually 2 summary rows. here is the code:

SummaryPosition usp = SummaryPosition.UseSummaryPositionColumn;

SummaryDisplayAreas s = SummaryDisplayAreas.BottomFixed;

sum_C_Line1= e.Layout.Bands[0].Summaries.Add("X_TOTAL1", SummaryType.Custom, new IMSCC(),  e.Layout.Bands[0].Columns["Column1"], usp, e.Layout.Bands[0].Columns["Column1"]);

sum_C_Line1.SummaryDisplayArea = s;

 

sum_C_Line2= e.Layout.Bands[0].Summaries.Add("X2_TOTAL1", SummaryType.Custom, new IMSCC(),  e.Layout.Bands[0].Columns["Column1"], usp, e.Layout.Bands[0].Columns["Column1"]);

sum_C_Line2.SummaryDisplayArea = s;

My questions are :

1- How can i change place of that summary rows ? I want summary row 1 to display over summary row 2.

2- How can i write some explanations on cells left of that summary columns on summart rows ?

(Please see attach picture for better understanding. )