<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
相关推荐
paopaokaka_luck9 分钟前
基于SpringBoot+Uniapp的健身饮食小程序(协同过滤算法、地图组件)患得患失94942 分钟前
【前端】【vscode】【.vscode/settings.json】为单个项目配置自动格式化和开发环境飛_44 分钟前
解决VSCode无法加载Json架构问题YGY Webgis糕手之路3 小时前
OpenLayers 综合案例-轨迹回放90后的晨仔4 小时前
🚨XSS 攻击全解:什么是跨站脚本攻击?前端如何防御?Ares-Wang4 小时前
JavaScript》》JS》 Var、Let、Const 大总结90后的晨仔4 小时前
Vue 模板语法完全指南:从插值表达式到动态指令,彻底搞懂 Vue 模板语言德育处主任4 小时前
p5.js 正方形square的基础用法烛阴4 小时前
Mix - Bilinear Interpolation90后的晨仔4 小时前
Vue 3 应用实例详解:从 createApp 到 mount,你真正掌握了吗?