• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

    vue-easytable: 一个基于 Vue2.x 的表格组件。支持虚拟滚动等几十种功能 ...

    原作者: [db:作者] 来自: 网络 收藏 邀请

    开源软件名称:

    vue-easytable

    开源软件地址:

    https://gitee.com/huangshuwei/vue-easytable

    开源软件介绍:

    npmvue2NPM downloadscodecovlicenseDiscordGitter

    vue-easytable

    English | 中文

    Become a Patreon

    Sponsors

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

    Gold Sponsor

    Silver Sponsor

    Generous Sponsor

    • Fulin Xu

    介绍

    一个基于 Vue2.x 的表格组件

    API & 文档

    功能支持

    基础组件

    Table 组件

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

    安装

    npm install vue-easytable

    or

    yarn add vue-easytable

    使用

    Write the following in mian.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 / EdgeIE / EdgeFirefoxFirefoxChromeChromeSafariSafariOperaOpera
    IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

    如何贡献

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

    贡献者们

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


    鲜花

    握手

    雷人

    路过

    鸡蛋
    该文章已有0人参与评论

    请发表评论

    全部评论

    专题导读
    热门推荐
    阅读排行榜

    扫描微信二维码

    查看手机版网站

    随时了解更新最新资讯

    139-2527-9053

    在线客服(服务时间 9:00~18:00)

    在线QQ客服
    地址:深圳市南山区西丽大学城创智工业园
    电邮:jeky_zhao#qq.com
    移动电话:139-2527-9053

    Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap