On Wednesday, June 17, 2015 at 8:07:45 AM UTC-4, Oli wrote:
>
>  
> set paginate to the size you want.
>  
> SQLFORM.grid(..., paginate=10000, ...)
>  
> see 
> http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=SQLFORM.grid+signature#SQLFORM-grid-signature
>

For very large numbers of records, you would want infinite scrolling 
functionality (i.e., incrementally load new records via Ajax as the user 
scrolls) -- it would not be practical to load 10,000 records on a single 
page all at once (would take a long time on the backend to run the query 
and generate the HTML, a long time to transfer all the data over the wire, 
and a long time for the browser to render the HTML).

Anthony

-- 
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