UseGridPrintReturn
Return value of the useGridPrint hook. Provides the print function and current printing state for managing print operations.
Props
The following table outlines the props for the UseGridPrintReturn:
| Name | Type | Default | Description |
|---|---|---|---|
| isPrinting | boolean | false | Flag indicating whether a print operation is currently in progress. Useful for disabling buttons or showing loading indicators during printing. |
(config?: PrintSettings) => Promise<PrintResult> | - | Executes the print operation with optional configuration. Handles data extraction, window management, and error handling. |