in _InitializeLayout(object sender, InitializeLayoutEventArgs e) event, i am manually adding 2 summary rows. here is the code for this operation: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 order 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 summary rows ?(Please see attached picture for better understanding. )
Nevermind. I've solved it.
Row display order is row adding order and
for setting text on left side i 've used IUIElementCreationFilter and Custom Formula. I 've put a fake formula to the left column and set it 's width as 3 column's total width.
see downloadable sample for more help.