[web2py] Re: grid column order

2014-11-17 Thread Alex Glaros
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

[web2py] Re: grid column order

2014-11-17 Thread Anthony
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

[web2py] Re: grid column order

2014-11-17 Thread Alex Glaros
> > > 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://

[web2py] Re: grid column order

2014-11-17 Thread Alex Glaros
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

[web2py] Re: grid column order

2014-11-17 Thread Niphlod
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