hello,
i am writing out the grid into PDF, and while using OutlookGroupBy, i need to gain access to sub total rows.
i loop over all the rows, and write each row to pdf. i can get regular rows, and GroupByRows (to write teh group by value), but i am still not sure how to get the summary values.
Background:Basically when we set a column Footer.Total = SummaryInfo.Sum, this will create a new row wtih all the sub totals.
how can i get a reference to that row when i loop over UltraGrid.Rows??
ideally there would be something like... SummaryRow sr = row as SummaryRow etc...
actually i did with the method outline above.. works quite well.
You can't access the summary values on the server side. You can get them on the client side. If you really need those values on the server side you can use the WebCalcManager and set up a formula for each total. Here is the URL for an article that show how to do this kind of thing:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/WebCalcManager_Using_Formula_Builder_to_Generate_Calculations.html
I hope it helps.
i think i am onto something here... row.rows.getFooterText('key')
unless there is a better way :)