It now also has a [export] button at the bottom to download in csv.

It no longer needs to be passed upload=URL('download'). It handles
images and other uploaded files out of the box (if logged in).

That's it for today. Sleep time.

Massimo

On Aug 18, 5:23 pm, Massimo Di Pierro <[email protected]>
wrote:
> New features added:
>
> You can how do
>
>     db.define_table('x',Field('y'))
>     db.define_table('z',Field('t'),Field('x',db.x))
>     table=SQLFORM.grid(db.x)
>
> as well as
>
>     db.define_table('x',Field('y'))
>     db.define_table('z',Field('t'),Field('x',db.x))
>     table=SQLFORM.grid(db.x.id==db.y.x)
>
> you can also do
>
>     table=SQLFORM.grid(db.x,
>                        links=[lambda r:A('clickme',_href='http://
> google.com?q=%s' % r.y)])
>
> and delete has confirmation.
>
> Finally, all URL are now digitally signed by default.
> This means if you do not not decorate the action and your are not
> logged in
>
> @auth.requires_login()
> def index():
>       return dict(form=SQLFORM.grid(....))
>
> [view][edit][del] will not work.
>
> Please check it.
>
> Now all we need if Bruno's CSS patch!
>
> Massimo
>
> On Aug 18, 4:02 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > work in progress.... will be done in 1h
>
> > On Aug 18, 2:39 pm, mart <[email protected]> wrote:
>
> > > Hi Massimo,
>
> > > this looks great! :)
>
> > > I have been using the web2pygrid (from the slices page) and I added a
> > > link to the grid. So now I have lunch_build/view/edit/delete where
> > > 'launch_build' will call a function that simply dumps a file in a
> > > local queue.
>
> > > Would it be a hard thing to do the same thing with your new
> > > functionality?
>
> > > here's how it works:
> > > * i have a menu item that will do 2 thing ( 1. do a perforce sync,
> > > read files and update a table with the contents of those files. 2.
> > > will load a grid based on that table)
> > > * from the grid i click on the 'launch_build' link, which will dump
> > > create a file and dump it somewhere (in a queue).
>
> > > adding an xtra link is doable?
>
> > > thanks,
> > > Mart :)
>
> > > On Aug 18, 1:42 pm, Ross Peoples <[email protected]> wrote:
>
> > > > This is AWESOME! I haven't tried it yet, but sounds awesome. I have to 
> > > > do
> > > > this all the time, which is why I created plugin_crud for doing it via 
> > > > AJAX.
> > > > I will look forward to trying this out and will submit patches for 
> > > > anything
> > > > that could make it better or more customizable.
>
> > > > You guys have done a wonderful job with this. I know Bruno has been 
> > > > working
> > > > on PowerGrid, and PowerTables before that.

Reply via email to