In this example we will use the papaparse library.
You can click the following button to export the data back to csv and save it.
You can also highlight (drag and select) the grid cells and export that selection to a CSV via the context menu (right click menu.)