MCPcopy Index your code
hub / github.com/Happy-Coding-Clans/vue-easytable

github.com/Happy-Coding-Clans/vue-easytable @v2.27.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.27.1 ↗ · + Follow
681 symbols 1,177 edges 171 files 3 documented · 0% 26 cross-repo links updated 2y agov2.27.1 · 2023-05-21★ 3,80397 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

npm vue2 NPM downloads codecov license Discord Gitter

vue-easytable

English | 中文

Become a Patreon

Sponsors

通过成为赞助商来支持这个项目。您的商标或名称将与您提供的链接一起显示在此处。成为赞助商

Gold Sponsor

Silver Sponsor

Become a Patreon

Generous Sponsor

介绍

一个强大的 vue2.x 表格组件。你可以将它用做数据表、微软 excel 或者 goole sheet. 支持虚拟滚动、单元格编辑等功能。

特点

  • 采用虚拟滚动技术,支持 30 万行数据展示
  • 永久免费。当然你也可以选择捐赠

API & 文档

功能支持

基础组件

Table 组件

如果没有你想要的的功能 ,请告诉我们

安装

npm install vue-easytable

or

yarn add vue-easytable

使用

Write the following in main.js:

import Vue from "vue";
import "vue-easytable/libs/theme-default/index.css";
import VueEasytable from "vue-easytable";

Vue.use(VueEasytable);

new Vue({
    el: "#app",
    render: (h) => h(App),
});

Example:

<template>
  <ve-table :columns="columns" :table-data="tableData" />
</template>

<script>
  export default {
    data() {
      return {
        columns: [
          { field: "name", key: "a", title: "Name", align: "center" },
          { field: "date", key: "b", title: "Date", align: "left" },
          { field: "hobby", key: "c", title: "Hobby", align: "right" },
          { field: "address", key: "d", title: "Address" },
        ],
        tableData: [
          {
            name: "John",
            date: "1900-05-20",
            hobby: "coding and coding repeat",
            address: "No.1 Century Avenue, Shanghai",
          },
          {
            name: "Dickerson",
            date: "1910-06-20",
            hobby: "coding and coding repeat",
            address: "No.1 Century Avenue, Beijing",
          },
          {
            name: "Larsen",
            date: "2000-07-20",
            hobby: "coding and coding repeat",
            address: "No.1 Century Avenue, Chongqing",
          },
          {
            name: "Geneva",
            date: "2010-08-20",
            hobby: "coding and coding repeat",
            address: "No.1 Century Avenue, Xiamen",
          },
          {
            name: "Jami",
            date: "2020-09-20",
            hobby: "coding and coding repeat",
            address: "No.1 Century Avenue, Shenzhen",
          },
        ],
      };
    },
  };
</script>

开发计划

正在做的事情

支持环境

  • 现代浏览器和 IE11 及以上

| IE / Edge

IE / Edge | Firefox

Firefox | Chrome

Chrome | Safari

Safari | Opera

Opera | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

如何贡献

如果你希望参与贡献,欢迎 Pull Request

贡献者们

感谢以下小伙伴们做出的贡献 🙏

Discussion 讨论组

License

http://www.opensource.org/licenses/mit-license.php

Core symbols most depended-on inside this repo

later
called by 255
tests/unit/util.js
clsName
called by 89
packages/ve-table/src/util/index.js
isEmptyValue
called by 73
packages/src/utils/index.js
clsName
called by 33
packages/ve-loading/src/util/index.js
isBoolean
called by 25
packages/src/utils/index.js
isFunction
called by 23
packages/src/utils/index.js
getValByUnit
called by 21
packages/ve-table/src/colgroup/index.jsx
clsName
called by 21
packages/ve-pagination/src/util/index.js

Shape

Function 675
Class 3
Method 3

Languages

TypeScript100%

Modules by API surface

packages/ve-table/src/index.jsx129 symbols
packages/ve-table/src/util/index.js41 symbols
packages/ve-table/src/selection/index.jsx29 symbols
packages/ve-table/src/body/index.jsx29 symbols
packages/ve-dropdown/src/index.jsx28 symbols
packages/ve-contextmenu/src/index.jsx24 symbols
packages/ve-table/src/header/header-th.jsx21 symbols
packages/ve-table/src/body/body-td.jsx21 symbols
packages/ve-table/src/editor/index.jsx19 symbols
packages/ve-table/src/footer/footer-td.jsx16 symbols
packages/ve-table/src/footer/footer-tr.jsx14 symbols
packages/ve-pagination/src/index.jsx14 symbols

Dependencies from manifests, versioned

@babel/cli7.12.8 · 1×
@babel/core7.12.9 · 1×
@babel/plugin-external-helpers7.12.1 · 1×
@babel/plugin-transform-modules-umd7.12.1 · 1×
@babel/preset-env7.12.7 · 1×
@vue/babel-helper-vue-jsx-merge-props1.2.1 · 1×
@vue/babel-preset-jsx1.2.4 · 1×
@vue/cli-plugin-babel4.4.0 · 1×
@vue/cli-plugin-eslint4.4.0 · 1×
@vue/cli-plugin-router4.4.0 · 1×
@vue/cli-plugin-unit-jest4.4.0 · 1×
@vue/cli-service4.4.0 · 1×

For agents

$ claude mcp add vue-easytable \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page