Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HxGrid] ProgressIndicator on Grid with InfiniteScroll #760

Open
JoseTheChamp opened this issue Feb 27, 2024 · 1 comment
Open

[HxGrid] ProgressIndicator on Grid with InfiniteScroll #760

JoseTheChamp opened this issue Feb 27, 2024 · 1 comment
Assignees
Labels
as designed enhancement New feature or request

Comments

@JoseTheChamp
Copy link
Contributor

I have a HxGrid with ContentNavigationMode of infiniteScroll.
Grid now behaves correctly on first load (displays placeholders when loading) and also when requesting additional rows (also shows placeholders).

I need the grid to be capable to show HxProgressIndicator when there is a new request to the DataProvider which is triggered by a user changing the filter. Right now after new filter is submited, there is no indication that something is happening.

This following piece of code in HxGrid.razor, starting at line 56, currently disallows Grids with InfiniteScroll to show the indicator. It also conflicts with "shouldRenderLoadingDataWithPlaceholders".
bool progressIndicatorInProgress = (InProgress ?? _dataProviderInProgress) && (ContentNavigationModeEffective != GridContentNavigationMode.InfiniteScroll) && !shouldRenderLoadingDataWithPlaceholders;

I am unsure what would be a correct solution for this issue.

@hakenr
Copy link
Member

hakenr commented Feb 27, 2024

@crdo This was the progress-indicator we removed. :-D
Let's chat in the office.

@hakenr hakenr self-assigned this Feb 27, 2024
@hakenr hakenr added enhancement New feature or request as designed labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
as designed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants