mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 17:01:18 +08:00
fcd8393742
* feat(module: table): support for tree data * feat(module: table): support for tree data * fix: tests
36 lines
736 B
C#
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; }
|
|
}
|
|
}
|