[web2py] Re: Direct editing inside a grid

2014-07-18 Thread Serge Bourgeois
Hello, I could sort it out... For those who could be interrested, here under the key elements of my solution. 1. In the model, create the following functions (here for string and drop list): def options_widget(field,value,**kwargs): return SQLFORM.widgets.options.widget(field,value,_clas

Re: [web2py] Re: Direct editing inside a grid

2014-07-17 Thread Manuele Pesenti
Il 17/07/14 18:18, Serge Bourgeois ha scritto: > but, I got a message saying that I couldn't change the objects already > existing ... look for a validator... in case you are using IS_NOT_IN_DB it happens that when you're not updateing a value in a field with this validator but other, because of th

[web2py] Re: Direct editing inside a grid

2014-07-17 Thread Anthony
I don't have time to look into it, but seeing some code and a traceback might help. Anthony On Thursday, July 17, 2014 12:18:39 PM UTC-4, Serge Bourgeois wrote: > > Thanks Antony!. Do you know if there is any plan to develop such a > feature? If yes, do you have any idea of availability ? > >

[web2py] Re: Direct editing inside a grid

2014-07-17 Thread Serge Bourgeois
Thanks Antony!. Do you know if there is any plan to develop such a feature? If yes, do you have any idea of availability ? Still a third question: I tried the idea proposed here : http://www.web2pyslices.com/slice/show/1928/basic-inline-editing-in-sqlformgrid-no-plugin-no-javascript but, I go

[web2py] Re: Direct editing inside a grid

2014-07-17 Thread Anthony
This is not available out of the box, though it would be nice. Anthony On Thursday, July 17, 2014 10:25:20 AM UTC-4, Serge Bourgeois wrote: > > Hello, > > In order to simplify the user interface of basic controller functions, I > want to offer direct editing in SQLFORM.smartgrid, using the same