Displaying the new data
Configuring the grid to show the geographic data
Now we can modify the client to fetch data from the new endpoint and display the results.
App.tsx, replace the existing
columnDefs mapping with a mapper function and add a mapping for the UN/LOCODE dataset.
fields prop in the QueryBuilder component to read the correct fields from the