composize
    Preparing search index...

    Function worksheet

    • Defines a worksheet within the current workbook context.

      Creates a new worksheet with the specified name, sets it as the active context for subsequent row/cell operations within the composable function, and performs finalization steps like auto-fitting columns after the composable function completes.

      Parameters

      • name: string

        The name to be assigned to the new worksheet.

      • composable: () => void

        A callback function that contains the logic to define the content (rows, cells, etc.) of this worksheet. DSL functions called within this callback will operate on the newly created worksheet.

      Returns Worksheet