<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
相关推荐
梦曦i18 分钟前
create-uni-app v1.1.0:结构化生成,工程骨架更规范流光D20 分钟前
AI时代,搭建 web 站点并配置 nginx 反向代理流程PBitW25 分钟前
Travel Planner — 智能旅行行程规划助手梨想橙汁33 分钟前
CSS Grid 网格布局:二维布局神器,轻松实现复杂网页排版lhldsg33 分钟前
酒吧点餐小程序开发:从需求分析到技术落地实战Csvn33 分钟前
微前端样式隔离:为什么你的 CSS 串到别人家了?Shadow DOM、CSS Variables 与 @layer 实战金花顺36 分钟前
android_media_AudioTrack木公子37 分钟前
Vue3源码精读04:Scheduler 调度器深度解析|异步批量更新与任务队列源码全解YHL37 分钟前
🧠 React useContext 深度解析:告别 Props 层层传递的噩梦萧行之1 小时前
Observalble Plot和图形语法理论