columns4: [
{
type: “selection”,
width: 44,
align: “center”,
key: “selection”
},
{
title: “Language”,
key: “language”,
align: “center”,
width: 110
},
{
title: “Platform”,
key: “platform”,
align: “center”,
width: 110
},
{
title: “Period”,
key: “period”,
align: “center”,
render: (h, params) => {
let _this = this
return h(“div”, [
h(“DatePicker”, {
props: {
type: “date”,
placeholder: “Select date”,
value: this.data4[params.index].period.fromDate,
clearable: false
},
style: {
marginRight: “5px”,
width: “102px”
},
on: {
‘on-change’: function(event) {
// 这个需要这
iview 用jquery合并 table,数据双向绑定
最新推荐文章于 2024-06-28 10:04:00 发布
本文介绍了如何在iView表格中利用jQuery进行单元格合并,并且详细阐述了在数据变更时如何保持双向绑定,确保表格数据的同步更新。通过设置rowspan属性和监听日期及时间选择器的变更事件,实现了表格动态合并和数据的实时更新。
摘要由CSDN通过智能技术生成