如何刷新 AG Grid Vue 中的固定行数据
how to refresh pinned row data in AG Grid Vue
我在网格中固定了一些底行。我想在网格中添加或删除一些 rowData 后更新单元格。这是代码:
this.gridApi.pinnedBottomRowData = rowNode.setDataValue(date, dataToPush);
this.gridApi.updateRowData(event.rowIndex);
this.gridApi.refreshCells({
rowNodes: [rowNode],
columns: [date],
force: true;
});
但是,网格无法更新行的视图。后端可以正常工作,但前端不能。有什么方法可以更新固定的行吗?
我丢失了密码 this.gridApi.setPinnedBottomRowData(this.pinnedBottomRowData);
因此,固定底行数据不必显示数据。
我在网格中固定了一些底行。我想在网格中添加或删除一些 rowData 后更新单元格。这是代码:
this.gridApi.pinnedBottomRowData = rowNode.setDataValue(date, dataToPush);
this.gridApi.updateRowData(event.rowIndex);
this.gridApi.refreshCells({
rowNodes: [rowNode],
columns: [date],
force: true;
});
但是,网格无法更新行的视图。后端可以正常工作,但前端不能。有什么方法可以更新固定的行吗?
我丢失了密码 this.gridApi.setPinnedBottomRowData(this.pinnedBottomRowData);
因此,固定底行数据不必显示数据。