[web2py] Re: single datable record formatting

2013-11-27 Thread Gael Princivalle
Hi. In the "custom code to display record" how is it possible to call record data ? table.field1 table.field2 Same thing for headers ? Thanks. Il giorno martedì 15 maggio 2012 16:51:43 UTC+2, Marian Siwiak ha scritto: > > It worked as expected. > Thank you very much! > Marian > > W dniu wtor

[web2py] Re: single datable record formatting

2012-05-15 Thread Marian Siwiak
It worked as expected. Thank you very much! Marian W dniu wtorek, 15 maja 2012 15:55:54 UTC+2 użytkownik Anthony napisał: > > In the controller that generates the grid, you can do: > > if request.args and request.args[-3] == 'view': > response.view = 'path/to/other_view.html' > > or you can us

[web2py] Re: single datable record formatting

2012-05-15 Thread Anthony
In the controller that generates the grid, you can do: if request.args and request.args[-3] == 'view': response.view = 'path/to/other_view.html' or you can use conditional code in the main view for the page: {{if request.args and request.args[-3] == 'view':}} [custom code to display record]