Search results

PageSettingsModel API in Angular TreeGrid API component

Interface for a class PageSettings

Properties

currentPage

number

Defines the current page number of the pager in TreeGrid.

enableQueryString

boolean

If enableQueryString set to true, then it pass current page information as a query string along with the URL while navigating to other page in TreeGrid.

pageCount

number

Defines the number of pages to be displayed in the TreeGrid pager container.

pageSize

number

Defines the number of records to be displayed in TreeGrid per page.

pageSizeMode

PageSizeMode

Specifies the mode of record count in a page. The options are,

  • All: Count all the records.
  • Root: Count only zeroth level parent records.

pageSizes

boolean | []

If pageSizes set to true or Array of values, It renders DropDownList in the pager of TreeGrid which allow us to select pageSize from DropDownList.

template

string | Function

Defines the template which renders customized elements in pager of TreeGrid instead of default elements. It accepts either template string or HTML element ID.