Thanks. I am making progress.
Regards
Johann
--
"Be not deceived; God is not mocked: for whatsoever a
man soweth, that shall he also reap."
Galatians 6:7
plugin_wiki.widget('jqgrid',table='mytable')
assumes all records (mytable.id>0)
On Aug 26, 2:38 pm, Johann Spies wrote:
> On 26 August 2010 21:08, mdipierro wrote:
>
> > datatable and jqgrid are different.
>
> > datatable fetches all records at once (without ajax) that allows
> > arbitrary quer
On 26 August 2010 21:08, mdipierro wrote:
> datatable and jqgrid are different.
>
> datatable fetches all records at once (without ajax) that allows
> arbitrary queries but does not work with large datasets.
>
> jqgrid fetches records via ajax. that allows only simple queries
> (because they have
datatable and jqgrid are different.
datatable fetches all records at once (without ajax) that allows
arbitrary queries but does not work with large datasets.
jqgrid fetches records via ajax. that allows only simple queries
(because they have to be passed in a safe way via ajax) but works well
wit
With the datatable plugin I can use
teachers=plugin_datatable(db(db.teacher.id>0).select(),_class='datatable')
which works but is to wide and with column headers that looks ugly.
db.teacher.id.represent = lambda id:
SPAN(A('edit',_href=URL(r=request,c='default',f='edit_teacher',args=id)))
works
On 26 August 2010 03:30, mdipierro 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",
"gende
look into the plugin code modes/plugin_wiki.py
On Aug 25, 4:14 pm, Johann Spies wrote:
> On 25 August 2010 22:51, mdipierro wrote:
>
> > {{=plugin_wiki.widget('jqgrid',table='tablename')}}
>
> > the first argument is the widget name, the other named arguments are
> > the widgets attributes.
>
>
On 25 August 2010 22:51, mdipierro wrote:
> {{=plugin_wiki.widget('jqgrid',table='tablename')}}
>
> the first argument is the widget name, the other named arguments are
> the widgets attributes.
Thanks. My first try did not work. I will have to read up on what
"the other named arguments" are s
{{=plugin_wiki.widget('jqgrid',table='tablename')}}
the first argument is the widget name, the other named arguments are
the widgets attributes.
On Aug 25, 3:39 pm, Johann Spies wrote:
> > Are you using plugin_jqgrid. If so please use widget jqgrid from
> > plugin_wiki.
>
> I don't know how to d
> Are you using plugin_jqgrid. If so please use widget jqgrid from
> plugin_wiki.
I don't know how to do it. All the documentation refers to that usage
within wiki pages. I am not using a wiki in this case.
Regards
Johann
--
"Be not deceived; God is not mocked: for whatsoever a
man sow
Are you using plugin_jqgrid. If so please use widget jqgrid from
plugin_wiki.
On Aug 25, 12:45 am, Johann Spies wrote:
> I followed the example in the radiolog-example of using jqgrid but I
> am doing something wrong I suppose.
>
> Given the following model
>
> db.define_table("teacher",
>
11 matches
Mail list logo