ant-design-blazor/components/table/TableModels/RowData.cs
James Yeung fcd8393742 feat(module: table): support for tree data (#771)
* feat(module: table): support for tree data

* feat(module: table): support for tree data

* fix: tests
2020-11-09 22:17:27 +08:00

36 lines
736 B
C#

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; }
}
}