FWIW, here is a sample:
grid = SQLFORM.grid(query, fields=fields, orderby=orderby,
create=create, details=details, editable=editable,
deletable=deletable, csv=False,
search_widget=ticketSearch,
paginate=linesPerPage, maxtextlength=45)
On Thu, Sep 26, 2013 at 1:55 PM, Jim Steil <[email protected]> wrote:
> I just did a hg pull from https://code.google.com/p/web2py and got no
> changes found.
>
>
> On Thu, Sep 26, 2013 at 1:36 PM, Massimo Di Pierro <
> [email protected]> wrote:
>
>> The problem is not the grid. We are working on a new feature and it will
>> break existing sessions.
>> I just committed a change to trunk that should fix the problem.
>>
>> massimo
>>
>>
>> On Thursday, 26 September 2013 11:55:51 UTC-5, Jim S wrote:
>>>
>>> All of my SQLFORM.grids are failing when I click on the EDIT button with
>>> this traceback, pointing to sqlform.html. Add's fail as well.
>>>
>>> Traceback (most recent call last):
>>> File "C:\dev\web2py\gluon\**restricted.py", line 217, in restricted
>>>
>>> exec ccode in environment
>>> File
>>> "C:/dev/web2py/applications/**sideboard/controllers/**maintenance.py"
>>> <http://127.0.0.1:8000/admin/default/edit/sideboard/controllers/maintenance.py>,
>>> line 1245, in <module>
>>>
>>> File "C:\dev\web2py\gluon\globals.**py", line 372, in <lambda>
>>>
>>> self._caller = lambda f: f()
>>>
>>> File "C:\dev\web2py\gluon\tools.py"**, line 3235, in f
>>>
>>> return action(*a, **b)
>>> File
>>> "C:/dev/web2py/applications/**sideboard/controllers/**maintenance.py"
>>> <http://127.0.0.1:8000/admin/default/edit/sideboard/controllers/maintenance.py>,
>>> line 1237, in tickets
>>>
>>> paginate=linesPerPage, maxtextlength=45,)
>>>
>>> File "C:\dev\web2py\gluon\sqlhtml.**py", line 2038, in grid
>>>
>>> next=referrer)
>>> File "C:\dev\web2py\gluon\html.py", line 2215, in process
>>>
>>> self.validate(**kwargs)
>>> File "C:\dev\web2py\gluon\html.py", line 2154, in validate
>>>
>>> if self.accepts(**kwargs):
>>> File "C:\dev\web2py\gluon\sqlhtml.**py", line 1324, in accepts
>>>
>>> **kwargs
>>> File "C:\dev\web2py\gluon\html.py", line 2024, in accepts
>>>
>>> if not formkeys or formkey not in formkeys:
>>> TypeError: 'in <string>' requires string as left operand, not NoneType
>>>
>>>
>>> -Jim
>>>
>>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/web2py/e9tGCO9T70A/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.