[web2py] question about SQLFORM.grid

2014-01-03 Thread Robert Bjornson
Hi all, I am a newcomer to web2py, and have what I hope is a simple beginner question. I am following the "mywiki" example in the getting started tutorial. In it, one can display all the documents for a page using this url: *http://127.0.0.1:8000/mywiki/default/documents/1* *The controller fo

[web2py] Question about SQLFORM.grid - process a column before show it

2012-12-20 Thread Christian Espinoza
Hi, I'm wondering about if is possible process the values of a column to show the result on the grid instead of original value... My Code: (db_events.events.device_id == request.vars.id) &\ (db_events.events.event_datetime >= from) &\ (db_events.events.event_datetime <= to) grid = SQLFORM.grid(qu

[web2py] Question about SQLFORM.grid and legacy tables

2011-09-22 Thread tomt
Hi, I was wondering if SQLFORM.grid can be used to display legacy tables that don't contain a field called 'id', and if so, how? I have this table definition: db2.define_table('statuspoint', Field('pointnumber','integer'), Field('pointname','string'), Field('station','integer'),