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
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
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
3 matches
Mail list logo