Class PivotViewGroupingBarSettings
Inheritance
Namespace: Syncfusion.EJ2.PivotView
Assembly: Syncfusion.EJ2.dll
Syntax
public class PivotViewGroupingBarSettings : EJTagHelper
Constructors
PivotViewGroupingBarSettings()
Declaration
public PivotViewGroupingBarSettings()
Properties
AllowDragAndDrop
Allows to restrict the pivot buttons that were used to drag on runtime in the Grouping Bar UI.
This will prevent modifying the current report.
By default, all fields are available for drag-and-drop operation in the
Grouping Bar.
Declaration
public bool AllowDragAndDrop { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
| Type |
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> |
DisplayMode
Allow options to show the Grouping Bar UI to specific view port such as either pivot table or pivot chart or both table and chart.
For example, to show the Grouping Bar UI to pivot table on its own, set the property displayMode to Table.
By default, the
Grouping BarUI will be shown to both pivot table as well as pivot chart.
Declaration
public View DisplayMode { get; set; }
Property Value
| Type | Description |
|---|---|
| View | The default value is View.Both |
ShowFieldsPanel
Allows to show an additional UI along with the Grouping Bar UI, which contains the fields that aren't bound in the current report.
It allows modifying the report by re-arranging the pivot buttons through drag-and-drop operation between axes (row, column, value and filter)
that are used to update the pivot table during runtime.
This property is applicable only for relational data source.
Declaration
public bool ShowFieldsPanel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
ShowFilterIcon
Allows to show or hide the filter icon that used to be displayed on the pivot button of the Grouping Bar UI.
This filter icon is used to filter the members of a particular field at runtime in the pivot table.
By default, the filter icon is enabled in the
Grouping Bar.
Declaration
public bool ShowFilterIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
ShowRemoveIcon
Allows to show or hide the remove icon that used to be displayed in the pivot button of the Grouping Bar UI. This remove icon is used to remove any field during runtime.
By default, the remove icon is enabled in the
Grouping Bar.
Declaration
public bool ShowRemoveIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
ShowSortIcon
Allows to show or hide the sort icon that used to be displayed in the pivot button of the Grouping Bar UI.
This sort icon is used to order members of a particular fields either in ascending or descending at runtime.
By default, the sort icon is enabled in the
Grouping Bar.
Declaration
public bool ShowSortIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
ShowValueTypeIcon
Allows to show or hide the value type icon that used to be displayed in the pivot button of the Grouping Bar UI.
This value type icon helps to select the appropriate aggregation type to value fields at runtime.
By default, the icon to set aggregate types is enabled in the
Grouping Bar.
Declaration
public bool ShowValueTypeIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |