[web2py] Re: SQLFORM.grid order of fields on create or edit form

2015-04-22 Thread Kyle Flanagan
Thanks Niphlod, that did the trick. I did the same for createargs as well. Normally, I would just reorder the fields in the table def and go on with life, but in this case, I have a set of base fields that a handful of my tables share. I needed one of these base fields to be first and another t

[web2py] Re: SQLFORM.grid order of fields on create or edit form

2015-04-21 Thread Niphlod
On Tuesday, April 21, 2015 at 9:36:40 PM UTC+2, Dave S wrote: > > > > On Tuesday, April 21, 2015 at 12:32:28 PM UTC-7, Niphlod wrote: >> >> I know that may sound as "not-really-a-reply", but can't you just switch >> Field order in the table definition ? >> > > Perhaps it is a legacy table and he

[web2py] Re: SQLFORM.grid order of fields on create or edit form

2015-04-21 Thread Dave S
On Tuesday, April 21, 2015 at 12:32:28 PM UTC-7, Niphlod wrote: > > I know that may sound as "not-really-a-reply", but can't you just switch > Field order in the table definition ? > Perhaps it is a legacy table and he's stuck with the table field order. If so, a temporary table could be a wo

[web2py] Re: SQLFORM.grid order of fields on create or edit form

2015-04-21 Thread Niphlod
I know that may sound as "not-really-a-reply", but can't you just switch Field order in the table definition ? On Tuesday, April 21, 2015 at 6:36:11 PM UTC+2, Kyle Flanagan wrote: > > I know you can specify the order of fields for the main view of an > SQLFORM.grid using the optional fields para