We are manually computing totals and setting them in the footer by setting the column's Footer.Text property, e.g.:
grid.Columns[columnKey].Footer.Text = totalValue;
This works until we enable the SortingBehavior and define one or more SortingColumnSettings in the ColumnSettings collection. If there are any items defined in ColumnSettings, then any footer that we have set manually as shown above is not displayed. Static footer text set in the aspx is displayed.
<ig:Sorting SortingMode="Single"> <ColumnSettings> <ig:SortingColumnSetting ColumnKey="ID" Sortable="False" /> </ColumnSettings></ig:Sorting>
Please advise.
Yes, your solution worked. Thanks!
Hello aveshjain,
I'm just checking if you need any further assistance with the matter.
Hi aveshjain,
Here is the response I received from the development team - Once the columns are copied from a band to a ContainerGrid (in this case from the WebHierarchicalDataGrid [the band] to the GridView), any changes made to the band columns are not tranferred. You need to set it on the GridView columns at this point WebHierarchicalDataGrid1.GridView.Columns[1].Footer.Text = "Footer text";.
Please let me know if this helps.
I have investigated your issue and, I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 113598. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by going to the “Account” tab on our website, hovering to the "My Support Activity" dropdown and selecting the "Development Issues" tab.
Please let me know if you need more information.