This sample shows the loading indicator while initial rendering, refreshing and all gantt action. In this sample, you can change the loading indicators from the properties panel.
|
Indicator Type
|
|
The Gantt has an option to show a loading indicator in-between the time of fetching the data and binding it to the gantt during initial rendering, refreshing or while performing action like sorting, filtering and more. The Gantt support the following loading indicator types Shimmer Spinner Use the loading indicator by setting the loadingIndicator.indicatorType property as Spinner or Shimmer. The default value of the indicatorType is Spinner. By default enableVirtualMaskRow is set to true which renders Shimmer during virtual scrolling. Injecting Module: Gantt component features are segregated into individual feature-wise modules. To use virtual scroll, filter, sort and selection features, inject the VirtualScroll, Filter, Sort and Selection modules using the Gantt.Inject(VirtualScroll), Gantt.Inject(Filter), Gantt.Inject(Sort) and Gantt.Inject(Selection) methods. More information on the Essential® JS2 Gantt Chart can be found in this documentation section.