custom paging
custom paging
testownik
Posts: 21Questions: 10Answers: 0
Paging contains limited amount of numbers.
Is it possible to specify/define a set, that shows all numbers? I didn't found it, or misunderstood something.
I'm displaying 1 row per page, with customized display of columns, each row contains few long sentences of text.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi testownik,
sorry, that I failed to figure out what you mean.
Hence I have a couple of questions:
"Paging contains limited amount of numbers." Do you mean that the number of rows per page is limited?
What is a "set"?
Which "numbers" do you mean?
Why does it matter if "each row contains few long sentences of text."
Why are you only displaying one row per page? Normally a page would contain 10, 20 or 30 rows.
Limitation like this: 1,2,3,4,5..., N.
I'd like to see all page numbers instead of first/last few and one on opposite border.
(sorry for my english)
The built-in options are configured using
pagingType
. There are also some paging plugins here:https://datatables.net/plug-ins/pagination/
I don't think there are any that display all the pages. You could take one and modify it to fit your needs. Maybe start with this one:
https://datatables.net/plug-ins/pagination/simple_numbers_no_ellipses
Kevin
Okay, thanks, I will look into it.