Welcome Guest, Not a member yet? Register   Sign In
Pagination Class - Go to page number
#1

Hey folks,

Does CI have a default setup for having a feature like this? I mean, next to the pagination with page numbers and First and Last buttons, adding a text box with go to page number facility?

Instead of having the user browse through tens of pages to reach the page he is looking for, how about just having him enter the page number and go to that page?

Does CI have something for this prebuilt?
Reply
#2

Should I be using external Javascript/HTML to get this done or there is something prebuilt? I am talking about 'Jump to Page Number' option.
Reply
#3

No the Pagination class doesn't have that functionality built-in. You can always extend it or add it in with JS.
Reply
#4

Is there any specific reason why that wasnt built in? Not that its hard to extend, but could have been built in.
Reply
#5

Really don't know. You're the first I've seen request it so it may not a popular enough item to include. You can always issue a PR on github after you create it and see if they'll merge it.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB