# Show Message During PDF Export in KendoReact Grid

## Environment

<table>
    <tbody>
        <tr>
            <td>Product Version</td>
            <td>13.0.0</td>
        </tr>
        <tr>
            <td>Product</td>
            <td>Progress® KendoReact Grid</td>
        </tr>
    </tbody>
</table>

## Description

How can I show a message while the KendoReact Grid is exporting data to PDF? Specifically, I need to:

* Display a loading or progress message when the user clicks the export button
* Keep the message visible during the PDF generation process
* Hide the message after the PDF export is complete

## Solution

Use the `GridPDFExport` ref to initiate the export and set a state variable with the message before calling the `save` method. After the file is saved, use the callback parameter to change the message back to an empty string or hide the element showing the message.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-pdfexport-show-message/source.txt)

## See Also

* [Grid PDF Export Overview](https://www.telerik.com/kendo-react-ui/components/grid/export/pdf-export)
* [GridPDFExport API](https://www.telerik.com/kendo-react-ui/components/pdfprocessing/api/gridpdfexport)
* [Grid Overview](https://www.telerik.com/kendo-react-ui/components/grid)
