Skip to content

Commit f5065b6

Browse files
committed
chore: correctly bind pagesize in financial dashboard app
1 parent f90b47b commit f5065b6

File tree

1 file changed

+2
-1
lines changed
  • sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/Pages

1 file changed

+2
-1
lines changed

sample-applications/blazor-financial-dashboard/BlazorFinancialDashboard/Components/Pages/Analytics.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
Navigable="true"
7373
OnStateInit="@OnGridStateInit"
7474
Pageable="true"
75+
@bind-PageSize="@PageSize"
7576
ShowColumnMenu="true"
7677
Sortable="true">
7778
<GridToolBar>
@@ -132,7 +133,7 @@
132133
@code {
133134
private TelerikChart? ChartRef { get; set; }
134135
private List<Transaction> GridData { get; set; } = new();
135-
136+
private int PageSize { get; set; } = 10;
136137
private List<PaymentMethod> PaymentMethods { get; set; } = new();
137138

138139
[CascadingParameter(Name = "IsLargeScreen")]

0 commit comments

Comments
 (0)