Hello.
I did the following test with virtual fields:
db.define_table('product',
Field ('type', db.tp_produto)
Field ('manufacturer', db.fabricante)
Field ('qt', 'integer', default = 0),
Field ('qt_min', 'integer', default = 0)
Complementing the line:
db.produto.virtualfields.append(VirtualFields())
causes error in creating the tables below it.
On Oct 21, 9:00 am, Savio Sabino savi...@gmail.com wrote:
Hello.
I did the following test with virtual fields:
db.define_table('product',
Field ('type',
In model:
db.table.field.represent=lambda value:A('click me',_href=value))
and this will be used by jqgrid
On Oct 20, 6:41 am, Savio Sabino savi...@gmail.com wrote:
Hello again.
I have a new question.
The current way of using jqgrid is with plugin_wiki? Even in the view
or controller?
Thanks this is nice solution. And very thanks for the great
framework.
And now... How do I add the two fields (deposit and withdraw) that no
store data and be used only in the view?
Must create a virtual copy of this table for and add fields? How?
Take this opportunity to mention that I am
I never tried but you can try define virtualfields:
http://www.web2py.com/book/default/chapter/06?search=virtualfield
and they should appear in jqgrid
On Oct 20, 9:35 am, Savio Sabino savi...@gmail.com wrote:
Thanks this is nice solution. And very thanks for the great
framework.
And now...
I think it's more or less what I'm looking for. The difference is that
instead of making a calculation as in the example, I put the onclick
event which calls the ajax function to load a template type and puts
the data in one modal.
Overall, things became more practical than I thought.
Now I'm
6 matches
Mail list logo