Skip to content
On this page

Namespace: TableHelper ​

Classes ​

Interfaces ​

Type Aliases ​

LoadTableRecordFunction ​

LoadTableRecordFunction<RECORD_TYPE>: (pagination: TablePaginationParams, filter: TableFilterParams, sort: TableSortParams[], ...args: any[]) => LoadTableRecordFunctionResult<RECORD_TYPE> | Promise<LoadTableRecordFunctionResult<RECORD_TYPE>>

Type parameters ​

Name
RECORD_TYPE

Type declaration ​

(pagination, filter, sort, ...args): LoadTableRecordFunctionResult<RECORD_TYPE> | Promise<LoadTableRecordFunctionResult<RECORD_TYPE>>

加载记录的函数, 用于 TableHelper 的构造函数.

Parameters ​
NameTypeDescription
paginationTablePaginationParams分页参数
filterTableFilterParams过滤参数
sortTableSortParams[]排序参数
...argsany[]-
Returns ​

LoadTableRecordFunctionResult<RECORD_TYPE> | Promise<LoadTableRecordFunctionResult<RECORD_TYPE>>

返回值为 LoadTableRecordFunctionResult

Defined in ​

dist/src/components/table-helper/table-helper.d.ts:258


RecordKey ​

RecordKey: string

Defined in ​

dist/src/components/table-helper/table-helper.d.ts:3


RecordType ​

RecordType:

Defined in ​

dist/src/components/table-helper/table-helper.d.ts:4


TableFilterParams ​

TableFilterParams: Record<string, unknown>

过滤查询参数, 用于记录搜索条件.

Defined in ​

dist/src/components/table-helper/table-helper.d.ts:223