How to get current page number the user is seeing? And when the table is refreshed it can land him on the same page instead of specifying 1st page always.
To get the current page number use: this.tableParams.page()
To set the page number use: this.tableParams.page(3)
You will need to change 'tableParams' with whatever your table object is called. Also be mindful that if your data is dynamic and you set the page to something out of the max page range then the data will just not show.