Enable grouping features in DxGrid components
Added ShowGroupPanel, ShowGroupedColumns, and AllowGroup to DxGrid in CatalogsGrid.razor and MassDataGrid.razor for enhanced data grouping. Also set PagerVisible="false" in MassDataGrid.razor to hide pager controls.
This commit is contained in:
@@ -128,6 +128,9 @@ else
|
|||||||
<DxGrid Data="@items"
|
<DxGrid Data="@items"
|
||||||
TItem="CatalogReadDto"
|
TItem="CatalogReadDto"
|
||||||
KeyFieldName="@nameof(CatalogReadDto.Guid)"
|
KeyFieldName="@nameof(CatalogReadDto.Guid)"
|
||||||
|
ShowGroupPanel="true"
|
||||||
|
ShowGroupedColumns="true"
|
||||||
|
AllowGroup="true"
|
||||||
ShowFilterRow="true"
|
ShowFilterRow="true"
|
||||||
AllowColumnResize="true"
|
AllowColumnResize="true"
|
||||||
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
||||||
|
|||||||
@@ -163,6 +163,9 @@ else
|
|||||||
<DxGrid Data="@items"
|
<DxGrid Data="@items"
|
||||||
TItem="MassDataReadDto"
|
TItem="MassDataReadDto"
|
||||||
KeyFieldName="@nameof(MassDataReadDto.Id)"
|
KeyFieldName="@nameof(MassDataReadDto.Id)"
|
||||||
|
ShowGroupPanel="true"
|
||||||
|
ShowGroupedColumns="true"
|
||||||
|
AllowGroup="true"
|
||||||
ShowFilterRow="true"
|
ShowFilterRow="true"
|
||||||
AllowColumnResize="true"
|
AllowColumnResize="true"
|
||||||
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
||||||
|
|||||||
@@ -87,6 +87,9 @@ else
|
|||||||
<DxGrid Data="@items"
|
<DxGrid Data="@items"
|
||||||
TItem="CatalogReadDto"
|
TItem="CatalogReadDto"
|
||||||
KeyFieldName="@nameof(CatalogReadDto.Guid)"
|
KeyFieldName="@nameof(CatalogReadDto.Guid)"
|
||||||
|
ShowGroupPanel="true"
|
||||||
|
ShowGroupedColumns="true"
|
||||||
|
AllowGroup="true"
|
||||||
ShowFilterRow="true"
|
ShowFilterRow="true"
|
||||||
AllowColumnResize="true"
|
AllowColumnResize="true"
|
||||||
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
||||||
|
|||||||
@@ -163,6 +163,9 @@ else
|
|||||||
<DxGrid Data="@items"
|
<DxGrid Data="@items"
|
||||||
TItem="MassDataReadDto"
|
TItem="MassDataReadDto"
|
||||||
KeyFieldName="@nameof(MassDataReadDto.Id)"
|
KeyFieldName="@nameof(MassDataReadDto.Id)"
|
||||||
|
ShowGroupPanel="true"
|
||||||
|
ShowGroupedColumns="true"
|
||||||
|
AllowGroup="true"
|
||||||
ShowFilterRow="true"
|
ShowFilterRow="true"
|
||||||
AllowColumnResize="true"
|
AllowColumnResize="true"
|
||||||
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
ColumnResizeMode="GridColumnResizeMode.ColumnsContainer"
|
||||||
|
|||||||
Reference in New Issue
Block a user