Skip to content
Sheetwrite

Sheetwrite / Documentation

toCsv@sheetwrite/core

Export the current visible CSV view (UTF-8 BOM, CRLF): visible columns and view-ordered rows surviving sort, filter, hidden-row, and group state.

Export the current visible CSV view (UTF-8 BOM, CRLF): visible columns and view-ordered rows surviving sort, filter, hidden-row, and group state. String values beginning with = + - @ \t \r are prefixed with '. The synchronous API returns one in-memory string, but fetches at most maxWriterWindowRows view rows from the store per read.

Declaration

function toCsv(
sheet: Sheet,
store: Store,
options?: DelimitedTextOptions,
): string