Skip to content

Commit 2c9eff7

Browse files
908289: Added UG document for Pagination feature of Blazor File Manager
1 parent 767763c commit 2c9eff7

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

blazor/file-manager/pagination.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Pagination in Blazor FileManager Component | Syncfusion
4-
description: Checkout and learn here all about Pagination in the Syncfusion Blazor FileManager component and more.
3+
title: Pagination in Blazor File Manager Component | Syncfusion
4+
description: Checkout and learn here all about Pagination in the Syncfusion Blazor File Manager component and more.
55
platform: Blazor
66
control: File Manager
77
documentation: ug
@@ -11,11 +11,11 @@ documentation: ug
1111

1212
Pagination provides an option to display files and folders in segmented pages, making it easier to navigate through large directories. This feature is particularly useful when dealing with extensive file systems in the File Manager component.
1313

14-
To enable pagination, you need to set the [allowPaging](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.SfFileManager-1.html#Syncfusion_Blazor_FileManager_SfFileManager_1_AllowPaging) property to **true**. This property determines whether paging is enabled or disabled for the file manager. When `allowPaging` is enabled, a pager control rendered at the bottom of the file manager, allowing you to navigate through different pages.
14+
To enable pagination, you need to set the [allowPaging](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.SfFileManager-1.html#Syncfusion_Blazor_FileManager_SfFileManager_1_AllowPaging) property to **true**. This property determines whether paging is enabled or disabled for the File Manager. When `allowPaging` is enabled, a pager control rendered at the bottom of the File Manager, allowing you to navigate through different pages.
1515

1616
## Customize the pagination options
1717

18-
Customizing the pagination options in the Syncfusion File Manager allows you to tailor the pagination control according to your specific requirements. You can customize the pagination to display the number of pages using the `NumericItemCount` property, change the current page using `currentPage` property, display the number of records in the file manager using the `pageSize` property, and even adjust the page sizes in a dropdown using the `pageSizes` property.
18+
Customizing the pagination options in the Syncfusion File Manager allows you to tailor the File Manager pager according to your specific requirements. You can customize the pagination to display the number of pages using the `NumericItemCount` property, change the current page using `currentPage` property, display the number of records in the File Manager using the `pageSize` property, and even adjust the page sizes in a dropdown using the `pageSizes` property.
1919

2020
### Change the page size
2121

@@ -38,11 +38,12 @@ The following example demonstrates how to change the page size of a File Manager
3838
````
3939
Below is a screenshot illustrating the `PageSize` property in the File Manager component.
4040

41-
![Pagination in Blazor FileManager](images/blazor-filemanager-pagesize.png)
41+
![Pagination in Blazor File Manager](images/blazor-filemanager-pagesize.png)
4242

4343
### Change the page count
4444

45-
The `NumericItemsCount` property is used to control the number of numeric buttons displayed in the pager when pagination is enabled.
45+
The [NumericItemsCount](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_NumericItemsCount) property is used to control the number of numeric buttons displayed in the pager when pagination is enabled.
46+
4647
````cshtml
4748
@using Syncfusion.Blazor.FileManager;
4849
@using Syncfusion.Blazor.Navigations;
@@ -59,11 +60,11 @@ The `NumericItemsCount` property is used to control the number of numeric button
5960

6061
Below is a screenshot illustrating the `NumericItemCount` property in the File Manager component.
6162

62-
![Pagination in Blazor FileManager](images/blazor-filemanager-numericitemcount.png)
63+
![Pagination in Blazor File Manager](images/blazor-filemanager-numericitemcount.png)
6364

6465
### Change the current page
6566

66-
The Syncfusion File Manager allows you to change the currently displayed page, which can be particularly useful when you need to navigate through different pages of data either upon the initial rendering of the file manager or update the displayed page based on interactions or specific conditions. The default value of **CurrentPage** property is 1.
67+
The Syncfusion File Manager allows you to change the currently displayed page, which can be particularly useful when you need to navigate through different pages of data either upon the initial rendering of the File Manager or update the displayed page based on interactions or specific conditions. The default value of **CurrentPage** property is 1.
6768

6869
To change the current page in the Syncfusion File Manager, you can utilize the [CurrentPage](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_CurrentPage) property in [FileManagerPageSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPageSettings.html) component, which defines the current page number of the pager.
6970

@@ -86,7 +87,7 @@ The following example demonstrates how to implement the `CurrentPage` property.
8687
````
8788
Below is a screenshot illustrating the `CurrentPage` property in the File Manager component.
8889

89-
![Pagination in Blazor FileManager](images/blazor-filemanager-currentpage.png)
90+
![Pagination in Blazor File Manager](images/blazor-filemanager-currentpage.png)
9091

9192

9293
## Pager Template in Blazor File Manager
@@ -127,11 +128,11 @@ Below is an example on how to customize pagination in the Syncfusion File Manage
127128

128129
The screenshot below shows the Blazor File Manager component with a custom pagination button.
129130

130-
![Pager Template in Blazor FileManager](images/blazor-filemanager-page-template.png)
131+
![Pager Template in Blazor File Manager](images/blazor-filemanager-page-template.png)
131132

132133
### Pager with Page Sizes dropdown
133134

134-
The [FileManagerPageSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPageSettings.html) component's [PageSizes](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_PageSizes) property enables a dropdown in pager that allows you to dynamically change the number of records displayed in the current page. [PageSize](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_PageSizes) property allows number of items to be loaded in a single page. Here files are sorted using [Custom sorting](https://blazor.syncfusion.com/documentation/file-manager/file-operations#custom-sorting).
135+
The [FileManagerPageSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPageSettings.html) component's [PageSizes](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_PageSizes) property enables a dropdown in pager that allows you to dynamically change the number of records displayed in the current page. [PageSize](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileManager.FileManagerPagesSettings.html#Syncfusion_Blazor_FileManager_FileManagerPagesSettings_PageSizes) property allows number of items to be loaded in a single page.
135136

136137
Here is a sample demonstrating how `PageSizes` property is used when Pagination enabled in the File Manager.
137138

@@ -152,7 +153,7 @@ Here is a sample demonstrating how `PageSizes` property is used when Pagination
152153

153154
The screenshot below shows the Pages Sizes dropdown in the File Manager.
154155

155-
![Pagination in Blazor FileManager](images/blazor-filemanager-pagesize-dropdown.png)
156+
![Pagination in Blazor File Manager](images/blazor-filemanager-pagesize-dropdown.png)
156157

157158
## Events in Pagination
158159

@@ -189,4 +190,4 @@ The [PageChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.FileMa
189190

190191
## See also
191192

192-
* [How to Enable Virtualization in Blazor FileManager Component](https://blazor.syncfusion.com/documentation/file-manager/virtualization)
193+
* [How to Enable Virtualization in Blazor File Manager Component](https://blazor.syncfusion.com/documentation/file-manager/virtualization)

0 commit comments

Comments
 (0)