[web2py] nice to introduce new button in grid

2012-04-06 Thread Manuele Pesenti
can you suggest a nice looking solution for easly introduce new buttons in grid and smartgrid when I'm in edit mode? This are an example of a button to introduce: my_extra_element_1 = FORM(INPUT(_type=submit, _value=T('Share data')), _action=URL('share_data_with_users', args=table_id)) I

Re: [web2py] nice to introduce new button in grid

2012-04-06 Thread Jonathan Lundell
On Apr 6, 2012, at 8:15 AM, Manuele Pesenti wrote: can you suggest a nice looking solution for easly introduce new buttons in grid and smartgrid when I'm in edit mode? This are an example of a button to introduce: my_extra_element_1 = FORM(INPUT(_type=submit, _value=T('Share data')),

Re: [web2py] nice to introduce new button in grid

2012-04-06 Thread Anthony
I wonder if it wouldn't be straightforward to have a version of BEAUTIFY (arguments? alternative version called DUMP?) that would suppress this behavior and give us a dump of the object down to lower-level structures: dicts, lists, etc? Or is there already some better way to explore the

Re: [web2py] nice to introduce new button in grid

2012-04-06 Thread Jonathan Lundell
On Apr 6, 2012, at 6:14 PM, Anthony wrote: I wonder if it wouldn't be straightforward to have a version of BEAUTIFY (arguments? alternative version called DUMP?) that would suppress this behavior and give us a dump of the object down to lower-level structures: dicts, lists, etc? Or is there