Niphlod,

Thank you finding the source... yeah it's beyond my knowledge.

On Sep 30, 1:55 pm, Niphlod <[email protected]> wrote:
> http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#1527
>
> maybe a patch with "search_startswith" parameter will improve current
> search functionality, in case it is useful to someone else.
>
> On Sep 29, 3:32 pm, Omi Chiba <[email protected]> wrote:
>
>
>
>
>
>
>
> > Does anybody know where is the code so I can try customize it ?
>
> > On Sep 27, 6:20 pm, Omi Chiba <[email protected]> wrote:
>
> > > For example, I have a field which has 'abcab' and 'bcabc' data.
> > > If I provide 'ab' in the search box, I want to just pull the first one
> > > ('abcab') and exclude second one ('bcabc'). Can we do this ?
>
> > > models/db.py
> > > ---------------------
> > > db.define_table('Product',
> > >     Field('Part_Number'))
>
> > > controllers/default.py
> > > ------------------------------
> > > def admin():
> > >     products = SQLFORM.grid(db.Product,deletable=False, paginate=10)
> > >     return dict(products = products)

Reply via email to