samedi 11 juillet 2020

Ag-Grid Angular Checkbox selection between two grids

I'm displaying two Ag-grids in dashboard(Fund grid and Currency grid) and using custom cell renderer for Checkbox selection in both the grids. The two grids have a parent child relationship such that when I click a cell on Fund grid (apart from clicking on the checkbox) the Currency grid opens up. Both the grids have checkbox enabled in them. I need to establish a relationship between the checkbox events in two grids such that if a fund is selected on Fund grid, the Currency grid will have all the currencies selected and vice versa. However, in the reverse case if I select at least one currency in Currency grid, its equivalent fund in the Fund grid needs its checkbox to get automatically selected. I'm finding it complex to achieve this behavior. I referred Ag-Grid documentation and suggestions on Google but didn't come across this scenario. Any help is greatly appreciated!

Thanks




Aucun commentaire:

Enregistrer un commentaire