On my develop computer it works as expected.  On the production server the
jqgrid's all show empty grids. It is not a case of the user not being logged
in as was mentioned in another thread about jqgrid.

Normally when I get this type of behaviour I test the rest of the function
by using an SQLTABLE in stead of jqgrid and that will show whether there are
underlying problems.  In this case the SQLTABLES works without a problem.

Here is an example of such a controller:

@auth.requires_login()
def docdeurkyk():
    opskrif = T('Document Center contents')
    data=plugin_wiki.widget('jqgrid', table='doccenter', col_width=130,
width= 1000)
    #data = SQLTABLE(db(db.doccenter).select(limitby=(1,500)))
    add= A("Add a document",_href=URL(r=request, c="default", f="docadd"))
    return dict(data=data,add=add, opskrif = opskrif)

How  do debug this behaviour?

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

Reply via email to