Example of Paging API in ASP.NET MVC Tree Grid Control
This sample demonstrates the usage of paging API in Tree Grid. In this sample, use the properties panel to change the page size mode, page size, page count and current page of the Tree Grid.
DEMO
SOURCE
Allow Paging
|
|
Page Size Mode
|
|
Page Size
|
|
Page Count
|
|
Current Page
|
|
Paging allows you to display the contents of the Tree Grid in page segments. The number of items on a page is determined by
the PageSettings->PageSize
property. If no value is specified for the PageSettings->PageSize
property, the Tree Grid will display 12 items on a page. By default, paging is disabled. To enable paging,
set AllowPaging
property to true.
In this demo,
- Click the Allow Paging check box to enable/disable paging feature.
- Change the value of Page Size Mode Dropdown to change
PageSettings->PageSizeMode.
- Change the value of Page Size textbox to change
PageSettings->PageSize.
- Change the value of Page Count textbox to change
PageSettings->PageCount.
-
Change the value of Current Page textbox to change
PageSettings->CurrentPage.
More information on the paging configuration can be found in this documentation sectionopens in a new tab.