[web2py] Re: Customize SQLFORM.grid fields

2013-06-10 Thread keeperdss
Thanks for the reply, Niphlod. Now there was the following question: I add the following lines to the controller before the grid = SQLFORM.grid ... warn = db.executesql ('SELECT t.level_warn FROM TEMPER_RC t;') for val in warn: if (val == (1)): db.TEMPER_RC.level_warn.represent

[web2py] Customize SQLFORM.grid fields

2013-06-06 Thread keeperdss
Hello everyone. I'm new to web2py and I have a question about customizing fields in SQLform.grid. Probably the most frequently asked question for you :) Let me describe what I want to do: There is a table consisting of the following columns: id | min_time | max_time | execute_time | level_warn

[web2py] Customize fields of SQLFORM.grid

2013-06-06 Thread keeperdss
Hello everyone. I'm new to web2py and I have a question about customizing fields in SQLform.grid. Probably the most frequently asked question for you :) Let me describe what I want to do: There is a table consisting of the following columns: id | min_time | max_time | execute_time | level_warn