You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 months ago | |
|---|---|---|
| .. | ||
| README.md | 5 months ago | |
| api.ts | 5 months ago | |
| extends.ts | 2 years ago | |
| index.ts | 5 months ago | |
| init.ts | 5 months ago | |
| style.css | 5 months ago | |
| types.ts | 5 months ago | |
| use-vxe-grid.ts | 5 months ago | |
| use-vxe-grid.vue | 5 months ago | |
README.md
VXE Table Plugin
基于 vxe-table 和 vxe-pc-ui 的表格组件插件。
导出
| 导出 | 类型 | 说明 |
|---|---|---|
setupVbenVxeTable |
函数 | 初始化配置函数 |
useVbenVxeGrid |
函数 | 表格组合式函数 |
VbenVxeGrid |
组件 | 表格组件 |
VxeTableGridColumns |
类型 | 表格列类型 |
VxeTableGridOptions |
类型 | 表格配置类型 |
VxeGridProps |
类型 | 表格 Props |
VxeGridListeners |
类型 | 表格事件类型 |
使用
import {
setupVbenVxeTable,
useVbenVxeGrid,
VbenVxeGrid,
} from '@vben/plugins/vxe-table';
初始化
在应用入口处调用:
import { setupVbenVxeTable } from '@vben/plugins/vxe-table';
import { useVbenForm } from '@vben-core/form-ui';
setupVbenVxeTable({
configVxeTable: (vxeUI) => {
// 配置 VXE Table
},
useVbenForm,
});
类型
import type {
VxeTableGridOptions,
VxeGridProps,
} from '@vben/plugins/vxe-table';