<vxe-table
ref="table"
v-loading="listLoading"
:data="tableData"
border
stripe
:height="tableHeight"
:seq-config="{seqMethod}"
@resizable-change="resizableChange"
>
resizableChange({ resizeWidth, column }) {
const one = this.tableObj.baselistcolumnList.find(el => { return el.strfield === column.property })
if (one) {
one.intwidth = resizeWidth
this.listStyle()
}
},
<el-table
ref="table"
v-loading="importLoading"
:data="mainForm.ceCapitalpaymentdetailList"
border
stripe
class="tb-edit"
:header-cell-class-name="headerIconEdit"
@header-dragend="dragendEvent"
>
dragendEvent(newWidth, oldWidth, column) {
const one = this.tableObj.baselistcolumnList.find(el => { return el.strfield === column.property })
if (one) {
one.intwidth = newWidth
this.listStyle()
}
},
el-table vxe-table 表格宽度拖拽
hello芳芳2024-05-10 15:40
相关推荐
daols884 小时前
vue vxe-table 自适应列宽,根据内容自适应宽度的2种使用方式小小小小宇4 小时前
虚拟列表兼容老DOM操作悦悦子a啊4 小时前
Python之--基本知识安全系统学习5 小时前
系统安全之大模型案例分析涛哥码咖5 小时前
chrome安装AXURE插件后无效OEC小胖胖6 小时前
告别 undefined is not a function:TypeScript 前端开发优势与实践指南行云&流水6 小时前
Vue3 Lifecycle HooksSally璐璐6 小时前
零基础学HTML和CSS:网页设计入门老虎06276 小时前
JavaWeb(苍穹外卖)--学习笔记04(前端:HTML,CSS,JavaScript)三水气象台6 小时前
用户中心Vue3网页开发(1.0版)