Hi Massimo,

I did try using fields= [db.field.a, db.field.c, db.field.b]

Ahhh it's working now... (just tried again). I had to take out my links 
reference. It was referencing a field that wasn't in  my fields list and I 
kept getting an error. Thank you!

On Friday, March 20, 2015 at 11:44:15 AM UTC-4, Massimo Di Pierro wrote:
>
> You can pass a list of fields to the grid.
>
> On Friday, 20 March 2015 10:25:03 UTC-5, LoveWeb2py wrote:
>>
>> Is there an easier way to change the column order without re-arranging 
>> the model defined in db.py?
>>
>> Here is what I'd like to do:
>>
>> Col A, Col B, Col C
>>
>> How could I have
>>
>> Col C, Col A, Col B
>>
>> or whatever order I want. I have the same table I'd like to present in 
>> different ways.
>>
>> Thanks!
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to