I am using Ag-Grid with JS.
I have a column to list airports, the list is saved in the airport variable, if I dynamically select an airport I see it visually but if I click on the cell it adds the first value of the airport list, what is this due to?
I dynamically added the airport from the change event:
rowData.origin = { airport_id: 1, name: ‘Cancun’ };
gridApi.applyTransaction({ update: [rowData] });
and if it matches the data, but clicking the cell again adds the first value in the list 🙁
cesar alberto lopez nieves is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.