跳到主要内容

createListTable()

function createListTable(
container,
records,
columns,
isDarkMode,
options?
): ListTableAll;

Defined in: packages/rxdb-model/src/entity-table/vtable/table-factory.ts:102

创建 VTable ListTable 实例

Parameters​

ParameterTypeDescription
containerHTMLElement挂载容器元素
recordsEntityTableRecord[]表格行数据
columnsColumnsDefine | undefined列定义
isDarkModeboolean是否暗色主题
options?Partial<ListTableConstructorOptions>额外选项(可选),覆盖默认配置

Returns​

ListTableAll

已注册基础编辑器的 ListTable 实例