UseGridPdfExportReturn
Return value of the useGridPdfExport hook.
Provides the pdfExport executor and the current export state.
Designed for managing PDF export operations and UI state during export.
Props
The following table outlines the props for the UseGridPdfExportReturn:
| Name | Type | Default | Description |
|---|---|---|---|
| isExporting | boolean | false | Flag indicating whether a PDF export operation is currently in progress. Useful for disabling interactive elements or showing loading indicators during export. |
| pdfExport | (config?: PdfExportSettings) => Promise<PdfExportResult> | - | Executes the PDF export operation with optional configuration. Handles data extraction, PDF generation, and error handling. |