Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Row group summary - How to handle row footer visibility

$
0
0
This example demonstrates how to handle row footer visibility.
Basically, such a summary item is displayed if the TreeListOptionsView.ShowRowFooterSummary option is enabled and can be specified for a column by using the TreeListColumn.RowFooterSummary property.
To manage row footer visibility, create a TreeList descendant and provide a custom TreeListViewInfo in the CreateViewInfo method. In the custom TreeListViewInfo class, override the CalcRowFooterInfo method to handle row footer displaying based on the information provided by this method, for example, based on the group level value provided by the node.Level property.

In this example, a row footer for the second group level summary is hidden:

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>