On 1 February 2011 13:17, rochacbruno <[email protected]> wrote:
> The problem is in
>
> art_id = request.vars['dt_1'].split('.')[-1]
>
> For the first row it will be called dt_1 but for the second it will be dt_2
> and so on.
>
>
Thanks. Now I am beginning to understand your logic. The following is
working now (adapting code from one of your examples):
#Key Processing
key = None
cols = None
for k in request.vars.keys():
if k[:3] == 'dt_':
key = request.vars[k]
art_id = None
art_id = key.split('.')[-1]
Thanks for a fine product. I am at the moment implementing pagination
before I call PowerTable because it takes too long to show a large number of
records. I hope some time in future people with proper knowledge of
javascript like you will be able to combine pagination the way jqgrid from
the plugin_wiki does (using limitby in sql-queries) with the other powerfull
features to get the best of both sides.
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