pagination

To enable the pagination plugin

PaginationConfig type has the following properties:

NameDescriptionType
enabledto enable/disable paginationboolean
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: {
enabled: true,
limit: 2,
summary: false
}
});
Last updated on by Afshin Mehrabani