>
> While putting together an example of the error I found that my example
>> worked fine, in fact I'm getting HTML instead of CSV from a grid that was
>> not created from an AJAX call.
>>
>
This must be something that I've cause but with such a simplified
application I'm stumped as to what is
I regularly use the SQLFORM.grid, does exactly what I need with very little
effort. Recently I've been doing a lot more with AJAX to enhance how my
pages look and feel. But when combining AJAX with the grid, my CSV
downloads don't work as expected.
In a simple page with only a combobox an empty
I have a relatively simple page which has a drop down selection and an
empty DIV. When a user selects an item from the drop down an ajax call back
to web2py creates an sqlform.grid with a left join query and populates the
empty DIV with the grid. This works great.
Now if I use the search capabi
I was expecting an elegant web2py solution but brute force works too.
Thanks Richard.
--
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
I've gotten several "complaints" from my users about fields that display
the value None. In some cases the actual field value could be None verses
the database field just being empty (and displaying the value None).
I've started using represent when I describe my tables so that an empty
field d
5 matches
Mail list logo