();
private string PhysicalPath { get; set; } = "";
#endregion Private Properties
+
+ private int currPage { get; set; } = 1;
+
+ private bool isLoading { get; set; } = false;
+
+ private int numRecord { get; set; } = 10;
+ protected async Task SetNumRec(int newNum)
+ {
+ numRecord = newNum;
+ currPage = 1;
+ ReloadData();
+ await InvokeAsync(ReloadData);
+ }
+
+ protected async Task SetPage(int newNum)
+ {
+ ReloadData();
+ currPage = newNum;
+ await InvokeAsync(ReloadData);
+ }
}
}
\ No newline at end of file
diff --git a/MP.SPEC/Components/ListODL.razor b/MP.SPEC/Components/ListODL.razor
index f6db2ba4..79b66d7c 100644
--- a/MP.SPEC/Components/ListODL.razor
+++ b/MP.SPEC/Components/ListODL.razor
@@ -68,7 +68,6 @@ else
{
- @*
*@
}
}
@@ -156,7 +155,7 @@ else
- |