Hallo Brushek,
I am also trying out SQLFORM.grid/smartgrid and learn as I go.
@auth.requires_login()
> def dodajserwer():
> response.flash = T('Serwery')
> form=SQLFORM.grid(db.serwery)
>
>
Apparently the usage is either SQLFORM.smartgrid(table) or
SQLFORM.grid(query)
Try 'form = SQLFORM.smartgrid(db.serwery)'
or 'form = SQLFRORM.grid(db(db.serwery.id > 0))'
Regards
Johann
--
May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord! His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
2 Pet. 1:2b,3a