ejs-pager
represents the Angular Pager Component.
<ejs-pager></ejs-pager>
containerModule
is used to manipulate numeric container behavior of Pager.
string
Defines the own class for the pager element.
Defaults to ”
number
Defines the current page number of pager.
Defaults to 1
string
Defines the customized text to append with numeric items.
Defaults to null
boolean
If enableExternalMessage
set to true, then it adds the message to Pager.
Defaults to false
boolean
If enablePagerMessage
set to true, then it adds the pager information.
Defaults to true
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
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.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
string
Defines the external message of Pager.
Defaults to null
externalMessageModule
is used to manipulate external message of Pager.
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
number
Defines the number of pages to display in pager container.
Defaults to 10
number
Defines the records count of visible page.
Defaults to 12
boolean
| []
If pageSizes
set to true or Array of values,
It renders DropDownList in the pager which allow us to select pageSize from DropDownList.
Defaults to false
pagerMessageModule
is used to manipulate pager message of Pager.
any
Defines the template as string or HTML element ID which renders customized elements in pager instead of default elements.
Defaults to null
number
Gets or Sets the total records count which is used to render numeric container.
Defaults to null
To destroy the Pager component.
Returns void
Destroys the given template reference.
Parameter | Type | Description |
---|---|---|
propertyNames (optional) | string[] |
Defines the collection of template name. |
index (optional) | any |
Defines the index |
Returns void
Gets the localized label by locale keyword.
Parameter | Type | Description |
---|---|---|
key | string |
specifies the key |
Returns string
Navigate to target page by given number.
Parameter | Type | Description |
---|---|---|
pageNo | number |
Defines page number. |
Returns void
Refreshes page count, pager information and external message.
Returns void