Skip to content

Commit

Permalink
fix #293 (#385)
Browse files Browse the repository at this point in the history
Co-authored-by: Gustavo Navarro <[email protected]>
  • Loading branch information
heinleit and gustavnavar authored Apr 14, 2023
1 parent e0f068d commit 90b352c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GridBlazor/CGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ private CGrid(HttpClient httpClient, string url,
_columnsCollection = new GridColumnCollection<T>(this, _columnBuilder, _settings.SortSettings);
ComponentOptions = new GridOptions();

Pager = new GridPager(query);

ApplyGridSettings();
SetInitSorting();

Expand All @@ -196,8 +198,6 @@ private CGrid(HttpClient httpClient, string url,
_currentSearchODataProcessor = new SearchGridODataProcessor<T>(this, _settings.SearchSettings);
_currentExpandODataProcessor = new ExpandGridODataProcessor<T>(this);

Pager = new GridPager(this);

ComponentOptions.RenderRowsOnly = renderOnlyRows;
columns?.Invoke(Columns);

Expand Down Expand Up @@ -1573,4 +1573,4 @@ public async ValueTask<ItemsProviderResult<T>> LoadItems(ItemsProviderRequest re
}
#endif
}
}
}

0 comments on commit 90b352c

Please sign in to comment.