MCPcopy Index your code
hub / github.com/x-extends/vxe-table

github.com/x-extends/vxe-table @3.21.23

repository ↗ · DeepWiki ↗ · release 3.21.23 ↗ · Ask this repo → · + Follow
1,369 symbols 2,680 edges 84 files 256 documented · 19% updated 2d ago3.21.23 · 2026-07-03★ 8,5981,294 open issues
README

vxe-table

github star npm version NodeJS with Webpack npm downloads issues issues closed pull requests pull requests closed npm license

一个基于 Vxe UI 的 PC 端表格组件,支持增删改查的可编辑表格,支持 Excel 复制粘贴、数据透视表、虚拟列表高性能的表格解决方案

浏览器支持

Edge | Chrome | Firefox | Opera | Safari --- | --- | --- | --- | --- | 80+ ✔ | 80+ ✔ | 90+ ✔ | 75+ ✔ | 10+ ✔ |

安装

版本:vue 2.x

npm install vxe-table@3

Get on unpkg and cdnjs

NPM

// ...
import VxeUITable from 'vxe-table'
import 'vxe-table/lib/style.css'
// ...

createApp(App).use(VxeUITable).mount('#app')

CDN

使用第三方 CDN 方式记得锁定版本号,避免受到非兼容性更新的影响
不建议将第三方的 CDN 地址用于正式环境,因为该连接随时都可能会失效

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-pc-ui@3/lib/style.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vxe-table@3/lib/style.css">

  <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>

  <script src="https://cdn.jsdelivr.net/npm/xe-utils"></script>
  <script src="https://cdn.jsdelivr.net/npm/vxe-pc-ui@3"></script>
  <script src="https://cdn.jsdelivr.net/npm/vxe-table@3"></script>
</head>
<body>






      <vxe-table :data="tableData">
        <vxe-column type="seq" title="Seq" width="60"></vxe-column>
        <vxe-column field="name" title="Name"></vxe-column>
        <vxe-column field="role" title="Role"></vxe-column>
        <vxe-colgroup title="Group1">
          <vxe-column field="sex" title="Sex"></vxe-column>
          <vxe-column field="address" title="Address"></vxe-column>
        </vxe-colgroup>
      </vxe-table>






  <script>
    (function () {
      var App = {
        data() {
          return {
            tableData: [
              { id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', address: 'Shenzhen' },
              { id: 10002, name: 'Test2', role: 'Test', sex: 'Man', address: 'Guangzhou' },
              { id: 10003, name: 'Test3', role: 'PM', sex: 'Man', address: 'Shanghai' }
            ]
          }
        }
      }
      new Vue(App).$mount('#app')
    })()
  </script>
</body>
</html>

Contributors

Thank you to everyone who contributed to this project.

vxe-table

License

MIT © 2019-present, Xu Liangzhan

Extension points exported contracts — how you extend this code

CrossTableDragRowObj (Interface)
(no doc)
packages/table/src/store.ts
Window (Interface)
(no doc)
types/all.d.ts
Element (Interface)
(no doc)
examples/shims-tsx.d.ts
ElementClass (Interface)
(no doc)
examples/shims-tsx.d.ts
IntrinsicElements (Interface)
(no doc)
examples/shims-tsx.d.ts

Core symbols most depended-on inside this repo

getRowid
called by 118
packages/table/src/util.ts
getRefElem
called by 79
packages/table/src/util.ts
isEnableConf
called by 77
packages/ui/src/utils.ts
handleGetRowId
called by 66
packages/table/src/util.ts
getEventTargetNode
called by 41
packages/ui/src/dom.ts
handleFieldOrColumn
called by 34
packages/table/src/util.ts
setScrollTop
called by 29
packages/ui/src/dom.ts
createHandleGetRowId
called by 28
packages/table/src/util.ts

Shape

Function 1,353
Method 7
Interface 5
Class 4

Languages

TypeScript100%

Modules by API surface

packages/table/src/methods.ts455 symbols
packages/table/src/table.ts181 symbols
packages/grid/src/grid.ts107 symbols
packages/table/render/index.ts71 symbols
packages/table/module/export/mixin.ts54 symbols
packages/table/src/cell.ts52 symbols
packages/table/src/util.ts49 symbols
packages/table/module/edit/mixin.ts49 symbols
packages/toolbar/src/toolbar.ts42 symbols
packages/table/module/custom/panel.ts40 symbols
packages/ui/src/dom.ts29 symbols
packages/table/module/validator/mixin.ts25 symbols

Dependencies from manifests, versioned

@babel/plugin-transform-modules-commonjs7.25.7 · 1×
@types/resize-observer-browser0.1.11 · 1×
@typescript-eslint/eslint-plugin6.21.0 · 1×
@vue/cli-plugin-babel5.0.0 · 1×
@vue/cli-plugin-eslint5.0.0 · 1×
@vue/cli-plugin-router5.0.0 · 1×
@vue/cli-plugin-typescript5.0.0 · 1×
@vue/cli-plugin-vuex5.0.0 · 1×
@vue/cli-service5.0.0 · 1×
@vue/eslint-config-standard6.1.0 · 1×
@vue/eslint-config-typescript9.1.0 · 1×

For agents

$ claude mcp add vxe-table \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact