Skip to main content

pagination

To enable the pagination plugin

PaginationConfig type has the following properties:

NameDescriptionType
limit optionalrows per pagenumber
page optionalinitial pagenumber
summary optionalto show/hide the pagination summaryboolean
nextButton optionalto show/hide the next buttonboolean
prevButton optionalto show/hide the previous buttonboolean
buttonsCount optionalnumber of buttons to displaynumber
resetPageOnUpdate optionalto reset the pagination when table is updatedboolean
server optionalto enable server-side integrationServerConfig
new Grid({
data: [
['John', '[email protected]', '(353) 01 222 3333'],
['Mark', '[email protected]', '(01) 22 888 4444'],
['Eoin', '[email protected]', '(05) 10 878 5554'],
['Nisen', '[email protected]', '313 333 1923']
],
pagination: {
limit: 2,
summary: false
}
});