I know, but it could also help suggest possible values to search for
details on in the grid

On Tue, May 28, 2013 at 1:03 PM, Anthony <[email protected]> wrote:
> The autocomplete widget is for when a field appears in a create or update
> form -- it is used to help you fill in a value for the field.
>
> Anthony
>
>
> On Monday, May 27, 2013 10:43:11 PM UTC-4, Alec Taylor wrote:
>>
>> I haven't been able to get this to work:
>>
>> # Models
>> db.define_table('category',Field('name'))
>> db.define_table('product',Field('name'),Field('category'))
>> db.product.category.widget = SQLFORM.widgets.autocomplete(request,
>> db.category.name, limitby=(0,10), min_length=2)
>>
>> # View
>> {{= SQLFORM.grid(db.product) }}
>>
>> ----
>>
>> How do I bind the search input box to the autocomplete widget?
>>
>> Thanks for all suggestions,
>>
>> Alec Taylor
>
> --
>
> ---
> 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.
>
>

-- 

--- 
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.


Reply via email to