一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...
npm install @blueking/vxe-table








A vue based PC form component, support add delete change check, virtual tree, drag and drop, lazy loading, shortcut menu, data verification, import/export/print, form rendering, custom template, renderer, JSON configuration...
!Edge | !Chrome | !Firefox | !Opera | !Safari
--- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
* [x] Basic table
* [x] Configuration grid
* [x] Striped
* [x] Table with border
* [x] Cell style
* [x] Column resizing
* [x] Column drag and drop
* [x] Row drag and drop
* [x] Minimum/maximum height
* [x] Resize height & width
* [x] Fixed column
* [x] Grouping table header
* [x] Table footer
* [x] Highlight row & column
* [x] Table sequence
* [x] Radio
* [x] Checkbox
* [x] Sorting
* [x] Multi field sorting
* [x] Filter
* [x] Merged cells
* [x] Merged footer items
* [x] Import/Export/Print
* [x] Show/Hide column
* [x] Drag and drop/Customize column sorting
* [x] Loading
* [x] Formatted cell
* [x] Slot - template
* [x] Context menu
* [x] Detail - Expandable row
* [x] Toolbar
* [x] Virtual tree
* [x] Editable CRUD
* [x] Validate
* [x] Data Proxy
* [x] Keyboard navigation
* [x] VxeGlobalRenderer
* [x] Virtual scroll
* [x] Virtual merger
* [x] CSS Variable Theme
* [x] (Enterprise) Cell area selection
* [x] (Enterprise) Cell copy & paste
* [x] (Enterprise) Cell find and replace
* [x] (Enterprise) Full keyboard operation
* [x] (Enterprise) Integrated chart
Version: vue 3.x
``shell`
npm install vxe-table@next
`javascript
// ...
import VxeTable from 'vxe-table'
import 'vxe-table/lib/style.css'
// ...
createApp(App).use(VxeTable).mount('#app')
`
`javascript
// ...
import VxeTable from 'vxe-table'
import 'vxe-table/lib/style.css'
// ...
import VxeUI from 'vxe-pc-ui'
import 'vxe-pc-ui/lib/style.css'
// ...
createApp(App).use(VxeUI).use(VxeTable).mount('#app')
`
Use a third-party CDN to remember to lock the version number to avoid being affected by incompatible updates.
It is not recommended to use the CDN address of a third party in a formal environment because the connection can fail at any time
`HTML`
`html
`
Install dependencies
`shell`
npm run update
Start local debugging
`shell`
npm run serve
Compile packaging, generated compiled directory: es,lib
`shell``
npm run lib
Thank you to everyone who contributed to this project.

MIT © 2019-present, Xu Liangzhan