Table column add prop: resizable, Table add event @on-column-width-resize

This commit is contained in:
梁灏 2019-09-18 17:39:30 +08:00
parent f8e7e08720
commit aa14a697fb
4 changed files with 136 additions and 0 deletions

View file

@ -94,6 +94,7 @@
<div :class="[prefixCls + '-fixed-right-header']" :style="fixedRightHeaderStyle" v-if="isRightFixed"></div>
<div :class="[prefixCls + '-footer']" v-if="showSlotFooter" ref="footer"><slot name="footer"></slot></div>
</div>
<div class="ivu-table-resize-line" v-show="showResizeLine" ref="resizeLine"></div>
<Spin fix size="large" v-if="loading">
<slot name="loading"></slot>
</Spin>
@ -235,6 +236,7 @@
showHorizontalScrollBar:false,
headerWidth:0,
headerHeight:0,
showResizeLine: false
};
},
computed: {