I don't use the built-in search capabilities of the grid.  I like to code 
my own as shown here: 
 https://groups.google.com/forum/#!topic/web2py/61R9vqCO_Xo

Once this is done I can then use the jqueryui autocomplete widget to do the 
autocomplete for me.  Takes a bit of coding, but works really well.

-Jim


On Wednesday, June 4, 2014 10:15:20 PM UTC-5, JoeCodeswell wrote:
>
> Alec Taylor said: "I know, but it could also help suggest possible values 
> to search for 
> details on in the grid ."
>
> I agree, Alec. +1
>
> Love and peace,
>
> Joe
>
>
> On Monday, May 27, 2013 8:36:25 PM UTC-7, Alec Taylor wrote:
>>
>> 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 <abas...@gmail.com> 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 web2py+un...@googlegroups.com. 
>> > 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to