-
Goal: I am trying to create a csv file of the selected rows and trying to upload the file to retool storage and storing that file id in the retool database ->
-
Steps: i am able to select the selected rows but not able to upload to retool storag -->
-
Details:
function selectRowCreateCsvAndUpload(){
const selectedRow = table1.selectedRowsconst csvData = Papa.unparse(selectedRow);
console.log(csvData)
const result = utils.exportData(csvData,'selected_row_data.csv', 'csv');
console.log(result);
return 'CSV file with selected row data has been uploaded to Retool storage.';
}
return selectRowCreateCsvAndUpload();
-->