In grid, can fields argument name virtual fields?
Or can it only use fields from the table?
If it can, what is the format?
Alex
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/l
I lobbied to rename the "links" argument a while ago, as it is not just for
links -- the content of a "link" column can literally be anything at all.
Anthony
On Monday, November 17, 2014 7:12:15 PM UTC-5, Alex Glaros wrote:
>
> okay, I get it. To get granular control over every individual column
>
>
> I'm assuming I can't use the fields argument to move some of the virtual
> link fields to the left and some to the right of the table fields.
>
I mean fields argument cannot name virtual fields, correct?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://
okay, I get it. To get granular control over every individual column, I
move all columns to links. Also, I didn't know that links don't have to
be href links.
I'm assuming I can't use the fields argument to move some of the virtual
link fields to the left and some to the right of the table fiel
The question is a taddle bit unclear
If the link is a field of the table, shifting colums is as easy as using
the fields argument with your own order.
By default it's the same order fields are defined in your models.
Why are you building the A element with a represent? There's the "links"
a
5 matches
Mail list logo