You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What browser?
Chrome Version 90.0.4430.212 (Official Build) (64-bit)
Expected Behavior
What did you expect to happen?
The parameter - totalPage in the info-fn pagination options should return valid value.
Actual Behavior
What actually happened?
The parameter - totalPage is returning undefined.
Steps to Reproduce the Problem
I am trying to implement my own function to layout pagination information.
Steps :
Run the app using the basic example from getting started documentation.
Set your own page labels and pagination info function under the pagination-options.
Add the following line in pagination-options of your app, so that you use totalPage paramter :
infoFn: (params) =>
`Showing ${params.firstRecordOnPage} to ${params.lastRecordOnPage} of page ${params.currentPage} out of ${params.totalPage} pages. Total Records: ${params.totalRecords}`,
jsfiddle
If you provide a jsfiddle reproducing the issue, it'll be addressed much faster.
you can use this as base
Issue Type (delete the irrelevant ones)
Specs
What version are you using?
2.21.10
What browser?
Chrome Version 90.0.4430.212 (Official Build) (64-bit)
Expected Behavior
What did you expect to happen?
The parameter - totalPage in the info-fn pagination options should return valid value.
Actual Behavior
What actually happened?
The parameter - totalPage is returning undefined.
Steps to Reproduce the Problem
I am trying to implement my own function to layout pagination information.
Steps :
paramter
:jsfiddle
If you provide a jsfiddle reproducing the issue, it'll be addressed much faster.
you can use this as base
https://jsfiddle.net/mkx60gp7/
The text was updated successfully, but these errors were encountered: