Re: [web2py] override smartgrid 'add' button

2013-03-11 Thread Derek
Nope, in fact, I'm bypassing the grid altogether and writing my own functions. luckily it's not too difficult. I just have a controller return the data, then I get that as json, and do with it what I want. I'm using jqote2 for that, as well as a little custom javascript. On Sunday, March 10, 20

Re: [web2py] override smartgrid 'add' button

2013-03-10 Thread Yuval
Hi, Your post is a year old by now but I wonder if you find the "right" solution other than hide the "add" link and provide your own? Regards, Yuval On Thursday, May 10, 2012 6:05:53 AM UTC-7, Jim S wrote: > > I would really like to see an option to override the default Add button. > I have

Re: [web2py] override smartgrid 'add' button

2012-05-10 Thread Jim Steil
I would really like to see an option to override the default Add button. I have a couple situations where I'd like to provide sort of a dropdown menu button there to give the option to add a couple different things. Kind of like what Outlook offers on the New button. Better yet would be to

Re: [web2py] override smartgrid 'add' button

2012-05-10 Thread Franzé Jr
On Thu, May 10, 2012 at 1:43 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Are you trying to remove the header? I do not think we have an option for > that. You can try hide it using jquery. Yes..I'm trying... I can use jQuery, but I think it may have a option to do this thing...

Re: [web2py] override smartgrid 'add' button

2012-05-09 Thread Massimo Di Pierro
Are you trying to remove the header? I do not think we have an option for that. You can try hide it using jquery. On Wednesday, 9 May 2012 12:26:09 UTC-5, Franzé Jr. wrote: > > About smartgrid, I have a doubt: > > > Name of my table > > > How to disable this when I've generated the smartgrid ?

Re: [web2py] override smartgrid 'add' button

2012-05-09 Thread Franzé Jr
About smartgrid, I have a doubt: Name of my table How to disable this when I've generated the smartgrid ? Thanks in advance, On Tue, May 8, 2012 at 9:12 PM, Derek wrote: > I'd like to change the link 'Add' in the smartgrid to use my 'register' > instead of the default 'new' function. > So,

[web2py] override smartgrid 'add' button

2012-05-08 Thread Derek
I'd like to change the link 'Add' in the smartgrid to use my 'register' instead of the default 'new' function. So, to explain, I created a 'register' as shown here: http://web2py.com/books/default/chapter/29/7#One-form-for-multiple-tables it's not actually a registration link, more like a 'crea