Excel and ODS
Import and Export from XLSX and ODS files
Supported formats
Format
Export
Import
Importing excel files
import { useSpreadsheetState } from "@rowsncolumns/spreadsheet-state";
import { useLoadingIndicator } from "@rowsncolumns/spreadsheet"
const App = () => {
const { importExcelFile } = useSpreadsheetState({ ... });
const [showLoader, hideLoader] = useLoadingIndicator();
return (
<input
type="file"
onChange={async (e) => {
const file = e.target.files?.[0];
if (file) {
showLoader("Parsing excel file");
await importExcelFile(file)
hideLoader();
}
}}
/>
)
}Read Excel in Node.js
Streaming rows with processSheetData
processSheetDataExport to Excel
Export to ODS
Last updated