Posted 5 September 2023, 1:46 pm EST
I have looked at the Chaining ComboBoxes and the Dynamic DataMaps examples at the following URLs for inspiration but am not able to put the pieces together.
https://www.grapecity.com/wijmo/demos/Input/ComboBox/Objects/ChainingCombos/react
https://www.grapecity.com/wijmo/demos/Grid/Columns/DynamicDataMaps/react
What I am trying to do is create a FlexGrid with the following columns:
Column 1 - Contains a dropdown that contains a list of Countries
Column 2 - Contains a dropdown that displays a list of Cities related to the Country selected in Column1. The list of Cities in this column changes immediately when the user selects a Country in Column 1 (The DataMap example only changes the list of Cities when the user clicks the City dropdown)
Column 3 - Contains a button that when clicked deletes that row from the FlexGrid (if there is more than 1 row in the FlexGrid).
There is also a button at the top that when clicked adds a new row to the end of the FlexGrid. Can you help write this code in a React Functional Component?