What about to use a custom button instead of the “view” one?
You can use the grid ’s links options to build you button.
and then you can use the A(…, callback=URL(…), target=yourdiv) to fill
yourdiv with your details
Take a look here
http://www.web2py.com/books/default/chapter/29/05/the-views#A
On Wednesday, May 3, 2017 at 5:51:34 AM UTC-7, Gael Princivalle wrote:
>
> Thanks Anthony,
>
> The idea is having both view and grid displayed in the same page.
> The view is not made by the grid. It have to been displayed if the user
> have clicked on the 'View' button, or not displayed if the
Thanks Anthony,
The idea is having both view and grid displayed in the same page.
The view is not made by the grid. It have to been displayed if the user
have clicked on the 'View' button, or not displayed if the user have
clicked on the "Search" or "Reset" button.
The first time the page is
You should be able to do this in the controller that handles the grid.
Please show the code you tried and explain exactly what happened.
On Monday, May 1, 2017 at 9:49:23 AM UTC-4, Gael Princivalle wrote:
>
> Hello.
>
> I would like to set a session var when the user click in a SQLFORM.grid on
4 matches
Mail list logo