1、不能获取编辑这行数据的更新数据。 例如 let body = this.$refs.xTable.getRecordset() let { insertRecords, removeRecords, updateRecords } = body 不能获取updateRecords的数据 原因是没有用keep-sourece的。只对 keep-source 开启有效,是否显示单元格值的修改状态 ...
840 getRecordset(): { 841 insertRecords: RowInfo[]; 842 removeRecords: RowInfo[]; 843 updateRecords: RowInfo[]; 844 }; 845 /** 846 * 用于 edit-config,获取新增的临时数据 847 */ 848 getInsertRecords(): RowInfo[]; 849 /** 850 * 获取已删除的数据 851 */ 852 get...
getRecordset () { return { insertRecords: editMethods.getInsertRecords(), removeRecords: editMethods.getRemoveRecords(), updateRecords: editMethods.getUpdateRecords() updateRecords: editMethods.getUpdateRecords(), pendingRecords: $xetable.getPendingRecords() } }, /** @@ -486,7 +487,7 @@ co...
getRecordset(){ constremoveRecords=editMethods.getRemoveRecords() constpendingRecords=$xeTable.getPendingRecords() constdelRecords=removeRecords.concat(pendingRecords) // 如果已经被删除,则无需放到更新数组 constupdateRecords=editMethods.getUpdateRecords().filter(row=>{ ...
getRecordset () { return { insertRecords: this.getInsertRecords(), removeRecords: this.getRemoveRecords(), updateRecords: [] } }, isInsertByRow (row: any) { return !!row._X_INSERT }, getInsertRecords () { const { treeOpts } = this const insertRecords: any...
840 getRecordset(): { 841 insertRecords: RowInfo[]; 842 removeRecords: RowInfo[]; 843 updateRecords: RowInfo[]; 844 }; 845 /** 846 * 用于 edit-config,获取新增的临时数据 847 */ 848 getInsertRecords(): RowInfo[]; 849 /** 850 * 获取已删除的数据 851 */ 852 get...
getRecordset () { return { insertRecords: this.getInsertRecords(), removeRecords: this.getRemoveRecords(), updateRecords: [] } }, isInsertByRow (row: any) { return !!row._X_INSERT }, getInsertRecords () { const { treeOpts } = this const insertRecords: any...
修复重复插入子节点问题 增加方法updateFilterOptionStatus 优化getRecordset 逻辑,当被删除时,数据不再重复放到更新集合 优化筛选渲染器 icon 更新图标 Assets 2 Source code (zip) 2024-08-07T03:45:08Z Source code (tar.gz) 2024-08-07T03:45:08Z Footer...
const tableEditMethodKeys: (keyof TableEditMethods)[] = ['insert', 'insertAt', 'insertNextAt', 'remove', 'removeCheckboxRow', 'removeRadioRow', 'removeCurrentRow', 'getRecordset', 'getInsertRecords', 'getRemoveRecords', 'getUpdateRecords', 'getEditRecord', 'getActiveRecord', 'getSelected...
740 getRecordset(): { 741 insertRecords: any[]; 742 removeRecords: any[]; 743 updateRecords: any[]; 744 }; 745 /** 746 * 用于 edit-config,获取新增的临时数据 747 */ 748 getInsertRecords(): any[]; 749 /** 750 * 获取已删除的数据 751 */ 752 getRemoveRecords()...