Re: [web2py] Re: smartgrid orderby descending

2014-03-10 Thread Jake Lowen
Hi Dan. Sorry, but I can't remember if I ever got that problem solved. I did have this response to the question I believe the keys of the orderby dict should be the actual table names, not the literal keys parent and child. I've not actually touched web2py in a while since I moved on to flask.

[web2py] Re: smartgrid orderby descending

2014-03-07 Thread Dan Kozlowski
Jake, Did you ever get this to work ? Reason being I think I have the same problem. On Sunday, April 21, 2013 9:47:59 AM UTC-5, Jake Lowen wrote: In a normal grid the orderby descending works just fine: grid = SQLFORM.grid(db.meetings, orderby=~db.meetings.meeting_date, )

[web2py] Re: smartgrid orderby descending

2013-04-21 Thread Anthony
I believe the keys of the orderby dict should be the actual table names, not the literal keys parent and child. Anthony On Sunday, April 21, 2013 10:47:59 AM UTC-4, Jake Lowen wrote: In a normal grid the orderby descending works just fine: grid = SQLFORM.grid(db.meetings,