Re: [web2py] Getting more rows from a table without jQuery, PHP, etc

2014-07-23 Thread Thiago Duarte
I'm glad to know I won't need PHP. Thank you for the answer and link! -- 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 yo

Re: [web2py] Getting more rows from a table without jQuery, PHP, etc

2014-07-22 Thread Michele Comitini
Remove PHP from the landscape and put web2py there. You can use any AJAX enabled grid that does what you need. Write a controller that gets called by the grid and sends JSON encoded rows back to the grid, when the scroll to the end event is generated on the grid. For instance you can bind a call t

[web2py] Getting more rows from a table without jQuery, PHP, etc

2014-07-21 Thread Thiago Duarte
Hi there, I tweaked a couple of codes of a pagination demo, but it doesn't worked for me because the page is refreshed, I'm wanting add a button which always gets the next 10 rows from a table when clicked, so that contents is loaded always below, like an infinite scroll. I've seen a lot of exa