createListTable()
function createListTable(
container,
records,
columns,
isDarkMode,
options?
): ListTableAll;
Defined in: packages/rxdb-model/dist/entity-table/vtable/table-factory.d.ts:35
创建 VTable ListTable 实例
Parameters
| Parameter | Type | Description |
|---|---|---|
container | HTMLElement | 挂载容器元素 |
records | EntityTableRecord[] | 表格行数据 |
columns | ColumnsDefine | undefined | 列定义 |
isDarkMode | boolean | 是否暗色主题 |
options? | Partial<ListTableConstructorOptions> | 额外选项(可选),覆盖默认配置 |
Returns
ListTableAll
已注册基础编辑器的 ListTable 实例