Hi Johann, It is not about local_import() vs the new "from jqgrid import JqGrid" syntax. It is because you install your jqgrid app with a name other than "jqgrid". And this bug is fixed in latest trunk of jqgrid app already.
Regards, Ray On Aug 17, 7:28 pm, Bruno Rocha <[email protected]> wrote: > No more need to use lical_import it is deprecated. Newest web2py has a > custom importer which works much better. > > Em 17/08/2011 08:20, "Johann Spies" <[email protected]> escreveu: > > > On 17 August 2011 12:55, Bruno Rocha <[email protected]> wrote: > > >> try changing this: > > >> JqGrid = local_import('jqgrid', app='jqgrid', reload=True).JqGrid > > >> to this: > > >> from jqgrid import JqGrid > > > Thanks. That solved the problem but not the mystery (because my lack of > > understanding). > > > When is it better to use the first version? > > > Regards > > Johann > > --

