For second question see http://groups.google.com/group/web2py/browse_thread/thread/a0c789cccafe8014/f1f96197a13cfeb7?show_docid=f1f96197a13cfeb7 for an idea...
On Mar 9, 7:54 am, weheh <richard_gor...@verizon.net> wrote: > I'm really loving SQLTABLE and how concisely one can display a DB and > sort columns. BUT ... > > 1) I'm running into a problem where the sort doesn't seem to be > working properly. When I click on the column the first time, the > orderby clause works fine. When I click on the column a second time, > the reverse orderby (~orderby) kind-of sorts but doesn't get the order > correct either alphabetically or numerically. I don't know what gives. > Any thoughts? > > 2) I would like to create a different linkto on a per cell or column > basis. However, from the behavior, it looks like the link only works > for the .id column of the table. Is there an easy way to change this > behavior? > > For those trying to figure out how to use SQLTABLE, I strongly suggest > looking at the appadmin.py and appadmin.html files to try to > understand how to use this feature of web2py. The doc that I was able > to find was accurate but very skinny on details. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---