I am using the summary row on my WebDataGrid to show totals for financial columns. This is working very nicely, with the summary info added programmatically to the appropriate columns, and ShowSummariesButton="false" in the html source. However, I now want to add a label in the summary row in the first column to show "Totals:" or some variant of that.
I've gone through the exercise of programmatically adding a custom summary to the first column so that it will show the text I want it to. That is working fine. However, the summary button icon is showing up in the header of that column with the custom summary, even though ShowSummariesButton="false" at the grid level.
Any idea why that summary button would be showing up in the header, overriding my choice in the ShowSummariesButton attribute? I've looked through the ColumnSummaryInfo, Summary, SummaryRowSetting and SummarySetting objects and in none of them do I see the ability to affect the summary button.
Is there another way to update the text in a summary cell? This seems like something that you'd expect there to be an event handler for. Adding a custom summary just for this seems like serious overkill.
Thanks for your help,
Phil
I'm sorry Nikifor, I hadn't gotten a chance to look at the sample. I will look at it right now as I finally have a little lull in my schedule. I'll let you know today if I'm able to resolve the issue following your example. If not, I'll attach more code.
FYI, I'm testing in Firefox 5 and now 6.
Hello Phillip,Please let me know if you need more assistance with this issue.
Hello,I have created a sample which describes your situation and tested it with IE 9 and Firefox 6 and found out no button showing. Please modify the sample if it is not reproducing your code or make a new one and specify in which browser this misbehavior occurs. For more information about Row summaries you can reffer the following link from our documentation - http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.3/CLR4.0/html/WebDataGrid_Enabling_Summary_Row.html