superRaytin / paginationjs

A jQuery plugin to provide simple yet fully customisable pagination.
http://pagination.js.org
MIT License
912 stars 659 forks source link

How to handle empty data while using locator #140

Closed hiiamninna closed 1 year ago

hiiamninna commented 1 year ago

I am using url version for the dataSource, then everything seems okay until I get empty data. Always get error which is

"Pagination: dataSource.data.data is undefined."

Any idea or something which I miss it to handle it?

Really need help, thank you.