ant-design-blazor/components/table/TableModels/RowData.cs

36 lines
736 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace AntDesign.TableModels
{
public class RowData<TItem> : RowData
{
public TItem Data { get; set; }
public RowData(int rowIndex, int pageIndex, TItem data)
{
this.RowIndex = rowIndex;
this.PageIndex = pageIndex;
this.Data = data;
}
}
public class RowData
{
public int RowIndex { get; set; }
public int PageIndex { get; set; }
public bool Selected { get; set; }
public bool Expanded { get; set; }
public int Level { get; set; }
public int CacheKey { get; set; }
public bool HasChildren { get; set; }
}
}