1) The code says it is possible to pass in linked_tables as a dictionary, in which case it will put the links together in the order produced by linked_tables.keys(). This may or may not give you what you want. Quoting the Python web site, "The keys() method of a dictionary object returns a list of all the keys used in the dictionary, in arbitrary order (if you want it sorted, just apply the sorted() function to it)."
My suggestion is to just play with it. As a starting point, try linked_tables = dict(sometable='id', othertable='id') 2) Check layout.html. Again, spend some time playing with it. On Tuesday, April 23, 2013 9:49:42 PM UTC-4, funm...@gmail.com wrote: > > Hi all, > > I have a couple questions about the layout built by smartgrid. > > 1) My smartgrid has a couple linked tables. They show up nicely as links > on the right hand side of the grid. Is there a way to control which linked > table to be listed first? It looks like that it is sorted by alphabetical > order from A to Z. > > 2) when the page is built with the smartgrid, it shows the db name in the > upper left area. Is there a way to change it to something else? > > Thanks > > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.