Class DxGridGrouping
Configures the filter row.
Inheritance
Namespace: Emby.Web.GenericEdit.Elements.DxGrid
Assembly: Emby.Web.GenericEdit.dll
Syntax
public class DxGridGrouping
Properties
allowCollapsing
Specifies whether the user can collapse grouped records in a grid or not.
Declaration
public bool? allowCollapsing { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
autoExpandAll
Specifies whether groups appear expanded or not.
Declaration
public bool? autoExpandAll { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
contextMenuEnabled
Enables the user to group data using the context menu.
Declaration
public bool? contextMenuEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
Set this option to true to enable grouping using the context menu. In this case, to group/ungroup data, the user right-clicks a column header and chooses the required item from the appeared context menu.
expandMode
Specifies the event on which a group will be expanded/collapsed.
Declaration
public DxGridGrouping.GroupExpandMode? expandMode { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DxGridGrouping.GroupExpandMode> |
Remarks
By default, to expand/collapse a group, the user clicks its expand/collapse button. On small-screen devices, this approach may impair the user experience. As an alternative, consider expanding/collapsing a group by a click on the group row. For this purpose, assign "rowClick" to the grouping.expandMode property.
texts
Defines the texts of grouping-related visual elements.
Declaration
public DxGridGroupingTexts texts { get; set; }
Property Value
Type | Description |
---|---|
DxGridGroupingTexts |
Remarks
Use the options of this object to localize or customize grouping-related elements. For example, the groupByThisColumn, ungroup and ungroupAll options customize items of the context menu. These items appear in the menu only if the grouping.contextMenuEnabled option is set to true.