Version

Compact Rendering and Summaries Filter Properties

The Summary Row behavior has a property called CompactRendering, which specifies how the summaries are rendered. There are three available options:

  • Auto (default) – if the maximum number of summaries is one or less, the summaries will be rendered compactly. Otherwise each summary occupies a separate line.

WebDataGrid Compact Rendering 01.png
WebDataGrid Compact Rendering 02.png
  • On – the summaries are rendered compactly, even mixing different summaries on the same line.

WebDataGrid Compact Rendering 03.png
WebDataGrid Compact Rendering 04.png
  • Off – each summary type is rendered on a separate line.

WebDataGrid Compact Rendering 05.png

Summary Row and Filtering Behavior

When Summary Row and Filtering behaviors are enabled, the summary value can be calculated for the filtered data. There is a property called EnableSummariesFilter, which specifies how the summaries are calculated:

  • When EnableSummariesFilter is set to (default), the summaries are calculated for the data that has been filtered.

  • When EnableSummariesFilter is set to , the filtering conditions are ignored and the summaries are calculated for the whole data.

Note
Note:

The summaries are always calculated for the whole data, except for filtered or edited data i.e. when you edit (CRUD) or filter the data in the grid, the summary value is calculated for the filtered or edited data. For the other behaviors (paging, scrolling, etc.), the calculated summary value is for the whole data.