On 26 August 2010 03:30, mdipierro <mdipie...@cs.depaul.edu> wrote:
> look into the plugin code modes/plugin_wiki.py

models/plugin_wiki.py

Thanks.  That helped to see what is going on but:

When I use

 teachers=plugin_jqgrid(db.teacher,columns=["id",
"surname","name","highest_qualification","id_number","school",

"gender","cell","grade","domain"])

I get a grid with data as long as I do not try and put an 'edit'  in
place of the id-field.

When I use

    teachers=plugin_wiki.widget('jqgrid',table="teacher")

I get an empty grid with the column names as above.

It is not clear to me how to use the fieldvalue-filter.  I have also tried


    teachers=plugin_wiki.widget('jqgrid',table="teacher",fieldvalue=('id' > 0))

which made no difference.

I am wasting a lot of valuable time on this.

Regards
Johann

-- 
    "Be not deceived; God is not mocked: for whatsoever a
     man soweth, that shall he also reap."
                                  Galatians 6:7

Reply via email to