Table of Contents

Class QueryData<TItem>

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll

表格查询数据类

public class QueryData<TItem>

Type Parameters

TItem
Inheritance
QueryData<TItem>
Inherited Members
Extension Methods

Constructors

QueryData()

public QueryData()

Properties

IsAdvanceSearch

获得/设置 数据是否为已处理自定义高级搜索 CustomerSearchTemplate 默认为 false

public bool IsAdvanceSearch { get; set; }

Property Value

bool

Remarks

设置本属性为 true 时,Table 组件的高级搜索按钮改变颜色

IsFiltered

获得/设置 数据是否被过滤 默认为 false 未被过滤

public bool IsFiltered { get; set; }

Property Value

bool

Remarks

组件内部通过此属性判断,如果外部未进行数据过滤,内部将进行数据过滤操作

IsSearch

获得/设置 数据是否已处理 SearchText SearchText 默认为 false

public bool IsSearch { get; set; }

Property Value

bool

Remarks

设置本属性为 true 时,Table 组件的高级搜索按钮改变颜色

IsSorted

获得/设置 数据是否被排序 默认为 false 未被排序

public bool IsSorted { get; set; }

Property Value

bool

Items

获得/设置 要显示页码的数据集合

public IEnumerable<TItem>? Items { get; set; }

Property Value

IEnumerable<TItem>

TotalCount

获得/设置 数据集合总数

public int TotalCount { get; set; }

Property Value

int