This sample demonstrates the grouping bar feature of the pivotgrid widget. In the sample, fields are automatically populated from the bound data source, and it can be used to create a pivot view at runtime.
The pivotgrid widget grouping bar option automatically populates fields from the bound data source and allows end users
to drag fields between different axes such as columns, rows, values, and filters, and create pivot views at runtime.
To enable grouping bar, set the
showGroupingBar property as true.
Filter and sort icons allow displaying selective records and ordering them in ascending or descending order. The value type icon allows to display values based on selected aggregate type. The remove icon allows the user to remove the field from the report.
The pivotgrid widget features are segregated into individual modules. To take advantage of grouping bar support, we need
to inject the
GroupingBar module into the