@geogirafe/lib-geoportal
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Generate a CSV.

      Parameters

      • data: { [x: string]: unknown }[]

        Entries/objects to include in the CSV.

      • columnDefs: GridColumnDef[]

        Column definitions.

      Returns string

      The CSV file as string.

    • Generate a CSV and start a download with the generated file.

      Parameters

      • data: { [x: string]: unknown }[]

        Entries/objects to include in the CSV.

      • columnDefs: GridColumnDef[]

        Column definitions.

      • fileName: string

        The CSV file name, without the extension.

      Returns void