I set the
grid.Columns[2].Footer.Total = Infragistics.WebUI.UltraWebGrid.SummaryInfo.Sum;
grid.Columns[3].Footer.Total = Infragistics.WebUI.UltraWebGrid.SummaryInfo.Sum;
And I want grid.Columns[4].FooterText is somthing like ((grid.Columns[2].Footer.Total / grid.Columns[3].Footer.Total ) * 100).tostring() + %
I tried so many ways, but still have difficulty to get the value of grid.Columns[2].Footer.Total and grid.Columns[3].Footer.Total
I tried in some events as well
i.e. DataBinding ; DataBound; PreRender; InitializeRow; InitializeFooter
expecially in the event of InitializeFooter the (Infragistics.WebUI.UltraWebGrid.FooterEventArgs e) is useless. it encapsulate nothing related with footer.
Did any body know how to get the value or text of the footer?
Thanks
Lu
Vince - I truely appreciate the feedback!! This has been haunting me over the last week... What do you mean by your first workaround? How would I get this to implement my requirement for changing the footer total column? I'm going to look into the WebCalcManager as this is new territory for me. I was hoping to avoid client-side as it may not be that easy for me due to a variable number of columns that can be rendered.
Again, I appreciate the info!
Patrick
As far as I know, the actual footer totals aren't stored anywhere accessible in server-side code. I don't think they're calculated until render-time.For workarounds, I can think of three:- Manually duplicate corresponding calculations in server-side code.- Duplicate corresponding calculations using WebCalcManager.- Retrieve the value from the footer using client-side code.We already have a feature request on-hand for the ability to access the footer's actual values in server-side code.
Diddo here. Looking for something similar. I need to be able to get a handle to the column on a grouped footer.
Lu,
Did you figure out a solution to your problem? I need to do the same thing.