2.0.5 • Published 3 years ago
ex-tablewjw2 v2.0.5
ex-table
table auto fit one-line. Re-encapsulation of el-table And introduce the ex-table-column plug-in to solve the problem that its asynchronous rendering data cannot be adaptive.
Features
Common ways to encapsulate other forms
Project setup
npm install ex-tablewjw2 --save
Required
Quick Start
import Vue from 'vue'
import Element from 'element-ui'
import exTablewjw2 from 'ex-tablewjw2';
import 'ex-tablewjw2/lib/ex-tablewjw2.css';
Vue.use(Element)
Vue.use(exTablewjw2)
### Simple use
Replace `<el-table-column />` to `<ex-table-column>`, Replace `<el-table/>` to `<ex-table>`,
``` javascript
<ex-table>
<ex-table-column />
</ex-table>
notice
if ex-table-column set width should add 'show-overflow-tooltip'
ex-table-column Extend prop
Prop | Description | Type | Accepted Values | Default |
---|---|---|---|---|
fitByClass | Specify the class of the element that determines the width | string | - | cell |
fitGap | The content right margin | number | - | 0 |
ex-tablewjw2
ex-tablewjw2
2.0.5
3 years ago
1.1.0
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
2.0.1
3 years ago
1.0.70
3 years ago
1.0.69
3 years ago
1.0.68
5 years ago
1.0.67
5 years ago
1.0.66
5 years ago
1.0.65
5 years ago
1.0.62
5 years ago
1.0.61
5 years ago
1.0.64
5 years ago
1.0.63
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago