Class GridColumnGroup
A class used to represent the possible grouping headers for columns in the IBaseGrid<T> itself
This is heiarchical allowing multiple grouping levels
Columns within the Columns() definition can refer to the UniqueKey to indicate which column header grouping they should reside withinInheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class GridColumnGroup : BaseTreeNode<(string Name, string Key), GridColumnGroup>, ITreeNode<(string Name, string Key), GridColumnGroup>, ITreeNode<(string Name, string Key)>, ITreeNode, IHasChildren<GridColumnGroup>, IHasChildren
Constructors
GridColumnGroup(string, string)
Creates a new column grouping for a IBaseGrid<T>
Declaration
public GridColumnGroup(string name, string uniqueKey)
Parameters
Type | Name | Description |
---|---|---|
string | name | The user friendly name for the grid column grouping header |
string | uniqueKey | The unique key for this column heading which can be referred to in column definitions for the grid |
GridColumnGroup(string, string, GridColumnGroup)
Creates a new column grouping for a IBaseGrid<T>
Declaration
public GridColumnGroup(string name, string uniqueKey, GridColumnGroup parent)
Parameters
Type | Name | Description |
---|---|---|
string | name | The user friendly name for the grid column grouping header |
string | uniqueKey | The unique key for this column heading which can be referred to in column definitions for the grid |
GridColumnGroup | parent | The parent column grouping header that this one is a child of |
Properties
Name
The user friendly name for the grid column grouping header
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UniqueKey
The unique key for this column heading which can be referred to in column definitions for the grid
Declaration
public string UniqueKey { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CreateNewItem((string Name, string Key), GridColumnGroup)
Creates a new grid column group for use internally when adding child members
Declaration
protected override GridColumnGroup CreateNewItem((string Name, string Key) item, GridColumnGroup parent)
Parameters
Type | Name | Description |
---|---|---|
(string paramArguments, string queryFilter) | item | The name and key for this group column header |
GridColumnGroup | parent | The parent column grouping header that this one is a child of |
Returns
Type | Description |
---|---|
GridColumnGroup | A new grid column group for use internally when adding child members |