[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridGroupRow.-ctor

GridGroupRow Constructor

GridGroupRow()

Initializes a new instance of the GridGroupRow class.

Declaration
public GridGroupRow()

GridGroupRow(object, bool)

Initializes a new instance of the GridGroupRow class.

Declaration
public GridGroupRow(object dataItem = null, bool isCollapsed = false)
Parameters
Type Name Description
object dataItem

The data item.

bool isCollapsed

Sets whether the row is initially collapsed.

GridGroupRow(IDataCollection<object>, int, bool)

Initializes a new instance of the GridGroupRow class.

Declaration
public GridGroupRow(IDataCollection<object> collection, int dataIndex, bool isCollapsed = false)
Parameters
Type Name Description
IDataCollection<object> collection

The collection containing the item.

int dataIndex

Index of the data inside the collection.

bool isCollapsed

Sets whether the row is initially collapsed.

GridGroupRow(IDataCollectionGroup<object, object>, IDataCollection<object>, int)

Initializes a new instance of the GridGroupRow class.

Declaration
public GridGroupRow(IDataCollectionGroup<object, object> group, IDataCollection<object> groups, int index)
Parameters
Type Name Description
IDataCollectionGroup<object, object> group

The group item.

IDataCollection<object> groups

The collection of groups where this group is inside.

int index

The index of the group inside the collection of groups.