1.0.0 • Published 3 years ago

execl-table-vue v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

vue-select-table

A Vue.js project 组件参照execl表格 可拖拽选取表格区域 按住ctrl shift 可多选

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

Events

# @change  当选择表格时触发 回调参数:选取的格子

# @cellMouseup 当鼠标再表格中松开时 回调参数:当前鼠标所在格子 可用于拖拽进入表格

Attributes data

 :heads 表头 array string ['a', 'b']

 :fristColumns 第一列 array string ['a', 'b']

 :showHead 是否显示表头 boolean 默认true

 :showFirstColumn 是否显示第一列 boolean 默认 true

 :firstCellHtml 设置第一格(表头)内容html string

 :dataList 表格数据 array object 默认[],示例:[{value:'115566',rowIndex: 1, columnIndex:1}]

 暂不支持输入
1.0.0

3 years ago