[성현모] HistoryMerged 조회 추가

This commit is contained in:
SHM
2025-09-05 09:15:48 +09:00
parent db28cfdec0
commit 95f137d543
6 changed files with 118 additions and 39 deletions

View File

@ -3,7 +3,7 @@
@inject ContextMenuService ContextMenuService
<RadzenDataGrid Style="height:calc(100vh - 23rem); font-size: 20px;" TItem="TDataModel" Data="@DataList" AllowPaging PageSize="@PageSize"
AllowFiltering FilterMode="FilterMode.Advanced" CellRender="@CellRender"
AllowFiltering FilterMode="FilterMode.Advanced" CellRender="@CellRender" AllowColumnResize
SelectionMode="DataGridSelectionMode.Single" @bind-Value="@SelectedRow"
CellContextMenu="@OnCellContextMenu" RowSelect="@SelectRow" RowDoubleClick="@OnRowDoublClick">
<Columns>
@ -12,7 +12,9 @@
{
<RadzenDataGridColumn Title="No.">
<Template>
@(DataList.ToList().IndexOf(context) + 1)
<span class="custom-rz-value">
@(DataList.ToList().IndexOf(context) + 1)
</span>
</Template>
</RadzenDataGridColumn>
}
@ -130,6 +132,9 @@
if (args.Column.Property.ToLower().Equals("host"))
{
if (HostColumnMerge == false)
return;
int rowCount = 0;
var take = DataList.Skip(index).Take(((index / PageSize) + 1) * PageSize - index);
foreach (var r in take)