JavaScript Data GridLoading

Display loading indicators and progress feedback in your data grid application using the Loading plugin.

Overview

The Loading plugin provides a loading overlay for Handsontable using the Dialog plugin. It displays a loading indicator with a customizable title, icon, and description. This is useful for showing progress feedback during data operations, API calls, or any other time-consuming tasks.

With simplicity and effectiveness in mind, the loading plugin was designed to provide a consistent user experience with customizable appearance and behavior. It requires the Dialog plugin to be enabled to function properly.

Basic configuration

To enable the Loading plugin, set the loading option to true or provide a configuration object.

    Custom configuration

    The loading dialog supports customization of the icon, title, and description.

      Real-world usage

      Here are some common scenarios where the loading dialog is useful:

        Loading with Pagination plugin

        The example below demonstrates how to use the Loading plugin with pagination in external container:

        This is a demonstration of how to use the Loading plugin with pagination in external container. You need to create pagination overlay manually, after that you can use the afterLoadingShow and afterLoadingHide hooks to show and hide the pagination container overlay.

          Localize loading

          Translate default loading dialog labels using the global translations mechanism. The loading dialog introduces the following keys to the language dictionary that you can use to translate the loading UI:

          • LOADING_TITLE = 'Loading...'

          To learn more about the translation mechanism, see the Languages guide.