Hi all,
maybe I should elaborate a little bit more:
here's my model:
db.define_table('myTable',
Field('myDate','datetime'),
Field('myString','string'),
Field('myFloat','float'),
)
here's my controller:
def index():
grid = SQLFORM.smartgrid(db.myTable)
return locals()
and here's what I get:
<https://lh4.googleusercontent.com/-CPjxo21rh2U/VEC6M40E8QI/AAAAAAAAFtk/JiW3ZBbFcUg/s1600/w2pFloatBug.png>
Float field is not in the dropdown list, any ideas ?
I'm using web2py Version 2.9.11-stable+timestamp.2014.09.15.23.35.11 on
windows platform (downloaded 2 days ago from web2py website).
Thanks for helping,
-Mirko
On Thursday, October 16, 2014 5:03:12 PM UTC+2, Mirko wrote:
>
> Sorry, is the float search implemented in grid and smartgrid?
>
> I have a table with date, string and float fields and float fields are not
> searchable.
>
> Thanks,
>
> -Mirko
>
--
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/d/optout.