Here I'm wrong when I posted the question:

def something():
>     grilla = SQLFORM.smartgrid(table_1, orderby= table_1)
>

must be well:

def something():
    grilla = SQLFORM.smartgrid(table_1, orderby=table_1.name)
 
Jose

-- 



Reply via email to