setCheckboxRow()getRowById()都是 table 提供的 api,所以需要先拿到表格的引用 handlePageChange({ currentPage, pageSize }) {// request new pagethis.queryPaper().then(() =>{lettable =this.$refs.paperTable;this.paperResult.forEach((paper) =>{if(this.selectedPapers.has(paper.id)) { table.s...
第1个问题:,getRowById新增的数据获取不到。第2个问题:页面加载完毕后,在点击查询再次reloadData后,在点击编辑,setRow不生效。页面加载完毕后直接点击编辑setRow生效#2655 zhangsai521314opened this issueNov 27, 2024· 2 comments Labels bugfix Comments ...
showSubEvent () {const$productGrid =this.$refs.productGridRefif($productGrid) {constrow =this.selectRowif(row && row.productId) {constproductRow = $productGrid.getRowById(row.productId) $productGrid.setRadioRow(productRow) }else{ $productGrid.clearRadioRow() } } }, confirmSubEvent () ...
432 getRowById(rowid: string | number): RowInfo; 433 /** 434 * 获取当前表格的数据 435 * 完整的全量表体数据、处理条件之后的全量表体数据、当前渲染中的表体数据、当前渲染中的表尾数据 436 */ 437 getTableData(): { 438 fullData: RowInfo[]; 439 visibleData: RowInfo[]; 440 ...
前端对表格数据进行分页时,只会把数据总量的一部分数据传递给table.data,如果此时调用vxe的方法操作显示数据以外的表格数据,则不会达到预期效果,例如当前对100个数据进行分页,每页25个数据,当前第一页显示1-25的数据,此刻用户通过getRowById获取第26个数据,则无法获取;因此希望开发一个参数用于配置数据显示区间以解决此...
前端vxe-table翻页保留复选框状态 前端vxe-table翻页保留复选框状态 0 前⾔ 在前端开发过程中时常会遇到表格相关的显⽰与处理。组件库通常都会提供表格组件,对于展⽰、简单操作这些常⽤功能通常也够⽤;但如果需要更多的定制或进⾏⽐较复杂的操作,组件库⾃带的组件可能会捉襟见肘。是⼀个基于Vue....
432 getRowById(rowid: string | number): RowInfo; 433 /** 434 * 获取当前表格的数据 435 * 完整的全量表体数据、处理条件之后的全量表体数据、当前渲染中的表体数据、当前渲染中的表尾数据 436 */ 437 getTableData(): { 438 fullData: RowInfo[]; 439 visibleData: RowInfo[]; 440 ...
getRowById(rowid) console.log(rowid) if (row) { evnt.preventDefault() evnt.preventDefault() @@ -7154,6 +7155,8 @@ export default defineComponent({ oldIndex: oafIndex } }, evnt) $xeTable.saveCustomStore('update:sort') }).catch(() => { }) } 2 changes: 1 addition & 1 deletion ...
387 getRowById(rowid: string | number): any; 388 /** 389 * 获取当前表格的数据 390 * 完整的全量表体数据、处理条件之后的全量表体数据、当前渲染中的表体数据、当前渲染中的表尾数据 391 */ 392 getTableData(): { 393 fullData: any[]; 394 visibleData: any[]; 395 tableData: ...
v4.9.9 Compare xuliangzhanreleased this27 Nov 09:14 ·53 commitsto master since this release 4.9.9 e427954 table 修复getRowById 无法获取新增临时数据问题#2655 修复单元格合并问题 提升可编辑渲染速度 优化虚拟渲染 优化校验样式 Assets2