Just started using powertables. This is a brilliant tool and works
fantastically in most cases. However I have had a problem trying to
load two powertables on a page within components. It seems to show the
two tables correctly but then renders a bunch of extra tables that are
empty and misformatted. If I refresh the screen it also shows an error
warning about not being able to reinitialize the table.

######### html view is:

{{extend 'layout.html'}}
<link rel="stylesheet" type="text/css" href="/{{=request.application}}/
static/css/{{=request.application}}.css" />

{{=LOAD(f="list", extension="load", ajax=True,
vars=dict(table="customer"))}}
{{=LOAD(f="list", extension="load", ajax=True,
vars=dict(table="todo"))}}

######### load view is:

{{include 'web2py_ajax.html'}}
<link rel="stylesheet" type="text/css" href="/{{=request.application}}/
static/css/base.css" />
<link rel="stylesheet" type="text/css" href="/{{=request.application}}/
static/css/{{=request.application}}.css" />

<div>
    {{=result}}
</div>
######## controller just returns a basic table. no fancy hidden
columns or anything.



Reply via email to