Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can i refresh grid data when new data added in exts?
这取决于您如何添加新数据,如果它发生在服务器上并且您想要刷新 Ext JS 视图:
grid.getStore().reload()
我也修复它
store.reload();
reload 在 js ext 4 中被贬值。对 js ext 4 使用 load()。