Have a similar problem with a "global" spinner.
This works well as long as the current page not contains an SfGrid that calls a
spinner itself.
In my case, i have a Blazor MVVM concept, the ViewModel
provides refresh and the list as an ObservableCollection<T>, which is
bound to the SfGrid as the DataSource.
If the ViewModel is refreshed without SfGrid in the view,
the global spinner behaves correctly.
If the ViewModel is refreshed with SfGrid in the view, the
global spinner does not behave correctly. It does not appear or disappear even
though ShowSpinner ("# root") and HideSpinner ("# root")
are called.
<app id=”root”>
<div id=”spinTarget”></div>
</app>
<SfSpinner Target=”#spinTarget”></SfSpinner>
|
This doesn't work in the latest 19.3.0.43 version. The property Target is no longer available. What now?
<div id="spinTarget">
<SfSpinner @ref="@AppState.GlobalSpinner" CssClass="e-spin-overlay" Size="75" ZIndex="1001" Label="Operation in progress">
</SfSpinner>
</div>
|