The recipe on pagination in the book may provide some ideas:

http://web2py.com/books/default/chapter/29/14/other-recipes?search=pagination#Pagination

You could then put your list that you're trying to concatenate in an 
ajax load.

On Monday, May 12, 2014 8:49:23 AM UTC-4, Trevor Overman wrote:
>
> What would be the most effective way to load, for example, 25 more 
> database tables via an ajax function on clicking, for example again, a more 
> button?
> What I am trying to do is load the first 25 tables and have this list 
> concatenated for the next 25 in the sorted list. 
> The problem I'm running across is keeping the sorting intact. I know this 
> could be done by selecting the whole database, but I'm wanting to avoid 
> that. 
>
> def example():
>     table_list = db(db.example).select(limitby=(0, 25))
>     return dict(table_list=table_list)
>
>
> Thanks for the help! 
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to