SpreadsheetColumn | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias SpreadsheetColumn

    SpreadsheetColumn: {
        align?: "left" | "center" | "right";
        name: string;
        title: string;
        width?: number;
    } & (
        | { type: Exclude<keyof typeof ColumnTypes, "dateTime" | "number"> }
        | { storeUTC: boolean; type: "dateTime" }
        | { decimals?: number; type: "number" }
    )

    Type declaration

    • Optionalalign?: "left" | "center" | "right"

      Column alignment

    • name: string

      Column name (property name in rows)

    • title: string

      Column title (display name in spreadsheet header)

    • Optionalwidth?: number

      Column width measured as the number of characters of the maximum digit width of the numbers 0, 1, 2, …, 9 as rendered in the normal style's font

    • { type: Exclude<keyof typeof ColumnTypes, "dateTime" | "number"> }
    • { storeUTC: boolean; type: "dateTime" }
    • { decimals?: number; type: "number" }