0.4.0 • Published 3 years ago

vue-smooth-big-table v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

📣 简介

vue-smooth-big-table是一个基于vue的简单易理解的大数据量表格插件,完美解决大数据量渲染、滚动卡顿问题,且滚动动态加载数据时是平滑、无缝连接的

:star: demo演示

Watch the video

🔰 安装和引入方式

npm方式安装

  // npm i vue-smooth-big-table -S

  // npm引入方式 如下
  // main.js
  import vueSmoothBigTable from 'vue-smooth-big-table'

  Vue.use(vueSmoothBigTable);

  new Vue({
    el: '#app',
    render: h => h(App)
  });
  //demo.vue
  <vue-smooth-big-table :tableList="dataTable" :columns="columns" :tdHeight="60" :tableBodyHeight="600"></vue-smooth-big-table>

📝 API

属性说明类型默认值
tableList表格数据Array[]
columns表格列的配置描述Array[]
tdHeight表格行高Number,String20
tableBodyHeight表格body部分高度Number,String400
0.4.0

3 years ago

0.3.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago