Hi Massimo, I'm wondering how apply this change, I tried with the last
version, but isn't work yet,
I thought that was implemented in gluon\sqlhtml.py line 2242...
I'm trying to call it on this way:
grid = SQLFORM.grid()
return dict(form=form, grid=grid, license_plate=license_plate,
summary=
I think it will be a nice feature, would save have to querying the database
twice when was required
Christian.
2013/4/9 Massimo Di Pierro
> h... looks like the rows are not stored. I can easily change and allow
> you to do:
>
>
> grid = SQLFORM.grid(...)
> grid.rows =
>
> it would con
h... looks like the rows are not stored. I can easily change and allow
you to do:
grid = SQLFORM.grid(...)
grid.rows =
it would contain the records you see on the page only. Would this be ok?
Pros/Cons?
On Tuesday, 9 April 2013 10:12:57 UTC-5, Christian Espinoza wrote:
>
> Hi Massim
Hi Massimo, I'm rendering a grid in a view and I'm need add a graph to it,
maybe using flot js lib
the graph will need the same grid data, and I'm wondering how get the row
data without running a query only for the graphs
and taking advantage from the raw data used by SQLFORM.grid()...
Christian
I do not understand the question. :-(
On Tuesday, 9 April 2013 08:38:48 UTC-5, Christian Espinoza wrote:
>
> Hi guys, I'm answering how can I take advantage from SQLFORM.grid in order
> to get aditionally the data from the query
> something like:
>
> SQLFORM.grid():
> .
> .
> return (htmlco
5 matches
Mail list logo