Completed
Last Updated: 11 Jan 2021 14:33 by ADMIN
Release 2.21.0
Dan
Created on: 18 Dec 2019 13:18
Category: Grid
Type: Feature Request
59
Animation during grid load
When loading large datasets, it would be nice if there was an ability to trigger an animation or loading modal.  Similarly, filtering a large dataset causes a delay that can result in lost key presses when typing a few characters into the filter.  Interrupting with an animation or modal would be helpful there (as would the ability to specify a custom delay on filtering after keypress).
2 comments
web
Posted on: 02 Jul 2020 07:52

I don't count this proposal, as a valid solution.

It's not nice displaing and hidding a modal window to the user.

It's difficult to implement this feature because if you have a boolean value "IsLoading" and the Grid is not displayed with an if statement, the grid state is lost.

I tried having a string property binded to Class="@hiddenClass", but when OnRead is called sometimes is get hidden and some times is not.

public string IsHiddenClass => IsLoading ? "d-none" : "";

It would be nice to have a <GridLoadingStateTemplate> or something like this. Or at least be implemented grid component.

ADMIN
Marin Bratanov
Posted on: 19 Dec 2019 14:04

Hi Dan,

You can also Follow the status of a separate component for such a purpose in the following page: https://feedback.telerik.com/blazor/1408055-busy-indicator-which-is-mvvm-friendly. It is a prerequisite for a built-in indicator for the grid, but I will keep this one separate because it makes sense to me that there will be a built-in feature in the grid for that.

In the meantime, you can try using the approach from the article above.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor