Why not try powerTable?

On Mon, Jan 10, 2011 at 3:00 PM, Lisandro <rostagnolisan...@gmail.com>wrote:

> I downloaded web2py (1.91.6) and executed the development server.
> I edited the "welcome" app:
>
> First, I installed the plugin "plugin_wiki" in the "welcome" app.
>
> Second, I edited the db.py, adding the following line (every other
> thing stays as default):
>
> ---------------------------------------------------------------------------------------------------
> db.define_table('ciudadanos', Field('nro_documento'))
>
> ---------------------------------------------------------------------------------------------------
> I added some sample records.
>
>
> Third, I edited the "default/index.html" view, adding the following
> line:
>
> ---------------------------------------------------------------------------------------------------
> {{=plugin_wiki.widget('jqgrid', 'ciudadanos')}}
>
> ---------------------------------------------------------------------------------------------------
>
> When I acces http://.../welcome/default/index, I can see the jqgrid,
> but it contains nothing.
> I tried with:
>  * {{=plugin_wiki.widget('jqgrid',  table='ciudadanos')}}
>  * {{=plugin_wiki.widget('jqgrid', table=db.ciudadanos)}}
> But nothing happens.
>
> ¿What am I doing wrong? Thanks in advance.

Reply via email to