最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

applyTransaction not working in ag-grid-community 32.3.2 with ag-grid-react 32.3.2 and ReactJS 18.3.1 - Stack Overflow

programmeradmin2浏览0评论

I'm working with ag-grid-community version 32.3.2, ag-grid-react version 32.3.2, and ReactJS 18.3.1 in my project, and I am facing an issue with the applyTransaction method.

const gridOptions = {
    api: gridApi,
    columnApi: columnApi
};

gridOptions.api.applyTransaction({
    add: [newRowData],
});

When I try to use applyTransaction, it doesn’t seem to apply the changes or update the grid as expected. However, the applyTransactionAsync function works without any issues.

I expect that applyTransaction should immediately apply changes to the grid, like adding, updating, or removing rows.

发布评论

评论列表(0)

  1. 暂无评论