This produces a nice four column list. The only problem is that it is too long. That means scrolling like mad. Is there a way I can paginate the list? So, all authors with names starting with A appear on their own page and if there are more than a specific number of these, say, 20 or 50, the list is further paginated.
Is the problem that there are so many names “in total” that there is a lot of scrolling or is it potentially that any letter, say letter M, can also have so many names that it causes a problem?
If it is only the former then I have a pretty cool solution… that you might not like. I first need to build it tho
You can make use of CSS overflow if you are happy to scroll the list separately but if the data is suitable for indexes you can create one at the top and only ever display a subset;
The above could list with [prefix[a]]...
You could disable those buttons with no cases, even display a the count of items for each. [prefix[a]]... + [count[]]
If you are going to paginate a list its smart to allow the user to choose the list size
only paginate when more than N items are in the list
Others have done the pagination for tables have a look at Mohammads tables and shiraz tools
@twMat Thanks. The problem presently is that there are too many entries in total. But I can clearly see that in near future, there will be too many entries in some specific letters, say M or S.
On a related note, the list consists of words in Devanagari, something like भारत, मुंबई, etc.