When the DikeGrid is waiting or processing rows of data, it shows a message. You can customize this message.
The DikeGrid definition overlaps a div element over the primary DikeGrid container, as you can see in the following screenshot. The yellow highlighted div is the primary DikeGrid container.
Waiting Indicator div element
Loading Indicator
When the DikeGrid instance is waiting for the rows of data to display, it blocks its UI and shows a message. The message indicates this waiting.
Let us add a delay when the SampleData service loads the rows of data to see the displayed message.
Loading Indicator
You can customize the displayed message by providing an Injection Token called LOADING_MESSAGE.
Let us give the module this value for the above Injection Token.
Loading Indicator - Custom Message
Processing Indicator
When the DikeGrid instance is processing an edition operation, it blocks its UI and shows a processing message.
You can customize the displayed message by providing an Injection Token called PROCESSING_MESSAGE.
Displaying the indicator using the API
When you query a DikeGridComponent instance from the view, you can access a property called waitingIndicator of type DikeGridWaitingIndicator.