xingyu4j 0c1b737325 fix: fix lint && typecheck 4 semanas atrás
..
README.md 417e6c2ade chore: fix lint && typecheck 2 meses atrás
api.ts d71c81e8ff style: apply vsh lint formatting (#7923) 3 semanas atrás
extends.ts 081d2aed23 perf: format code with better style (#5283) 1 ano atrás
index.ts 6b3506f128 feat: table 类型VxeTableGridColumns替代VxeTableGridOptions['columns']魔法值写法 2 meses atrás
init.ts 417e6c2ade chore: fix lint && typecheck 2 meses atrás
style.css e1f6449073 feat: 表格已读行操作标记 1 mês atrás
types.ts d71c81e8ff style: apply vsh lint formatting (#7923) 3 semanas atrás
use-viewed-row.ts 0c1b737325 fix: fix lint && typecheck 4 semanas atrás
use-vxe-grid.ts 2013ba4de4 fix: 补全 ComponentPropsMap 与 Vxe 表格表单链路的类型 2 meses atrás
use-vxe-grid.vue d71c81e8ff style: apply vsh lint formatting (#7923) 3 semanas atrás

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';