简体   繁体   中英

Ag-grid synchronize data between two grids

Is is possible to synchronize the data between two ag-grid tables?

Basic example:

I have a table that contains products with 3 columns: name, category and price. In the second table I will show the total price value for each category. The first table is editable and when the price for a product has changed, the second table needs to be updated.

Real scenario

In my case, the data is more complex but the idea is the same.

PS I didn't provide an example because the idea is simple. I just need to know if this is possible.

Yes, it is possible.

After updating the first grid you should update data for the second grid

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM