@helix-x/datagrid-ui - v0.1.2
    Preparing search index...

    Function downloadCsv

    • Triggers a browser download of CSV content.

      A UTF-8 BOM is prepended, which is what makes Excel read the file as UTF-8 rather than ANSI. The .csv extension is added if missing.

      Parameters

      • content: string

        The CSV document, e.g. from toCsv.

      • fileName: string

        File name, with or without the extension.

      Returns void