lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

Get page number #823

Open estellederrien opened 6 years ago

estellederrien commented 6 years ago

Hello ,

I have a simple front end paginator like that 👍

<div id="pagerId" st-pagination="" st-items-by-page="15" st-displayed-pages="200"></div>

Then how could I find the total page number inside my angularjs controller linked to this view ($scope notation) ?

Thank you.

lorenzofox3 commented 6 years ago

available as currentPage on the directive scope

IanLeck-youngBlood commented 5 years ago

Sorry I'm quite new to this I don't quite understand how to call the currentPage?

IanLeck-youngBlood commented 5 years ago

Sorry I'm quite new to this I don't quite understand how to call the currentPage?

I'm asking because I'm trying to solve this issue that I posted on stackOverflow: https://stackoverflow.com/q/56356240/11570843