Skip to content

Commit 47b8a3d

Browse files
vnbaaijdvoituron
andauthored
Fix 3261 by fine tunning a change that was made in PR #3064 which only took ItemsProvider into account (#3265)
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
1 parent f0f26e7 commit 47b8a3d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/Demo/Shared/Pages/DataGrid/Pages/DataGridAutoItemsPerPagePage.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
}
4242

4343
.demo-section-example {
44+
min-height: 135px!important;
4445
height: 100%;
4546
}
4647

@@ -74,6 +75,7 @@
7475
}
7576
7677
.demo-section-example {
78+
min-height: 135px !important;
7779
height: 100%;
7880
}
7981

src/Core/Components/DataGrid/FluentDataGrid.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ protected override Task OnParametersSetAsync()
421421
Pagination?.ItemsPerPage != _lastRefreshedPaginationState?.ItemsPerPage
422422
|| Pagination?.CurrentPageIndex != _lastRefreshedPaginationState?.CurrentPageIndex;
423423

424-
var mustRefreshData = dataSourceHasChanged || paginationStateHasChanged || Loading is null;
424+
var mustRefreshData = dataSourceHasChanged || paginationStateHasChanged || EffectiveLoadingValue;
425425

426426
// We don't want to trigger the first data load until we've collected the initial set of columns,
427427
// because they might perform some action like setting the default sort order, so it would be wasteful

0 commit comments

Comments
 (0)