On Tuesday, January 16, 2018 at 9:08:59 AM UTC-8, Tu Duong wrote:
>
> [...]
> 3.* "Also, rather than building all the grids when the page is first 
> requested, you might consider loading each grid asynchronously via Ajax 
> only when needed. For example, clicking a button could call 
> $.web2py.component() to retrieve a given grid as a web2py Ajax component."*
>
> I don't know Ajax, could you please give me an example based on my code? 
> Thanks
>

The place to start is the web2py book, because there are some useful 
helpers ... Anthony  mentioned component() which is discussed in this 
chapter:

<URL:http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax>

/dps

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