[Dojo-interest] Case insensitive filtering in Datagrid?

Jared Jurkiewicz jared.jurkiewicz at gmail.com
Fri Jun 11 10:26:05 EDT 2010


I think you can just set the grid queryOptions and it'll pass it down
to the store.

example:

grid.queryOptions = {ignoreCase: true};
grid.filter({name:input.value + "*"});

Query options define the store behavior.  See:
http://docs.dojocampus.org/dojo/data/ItemFileReadStore#query-options

-- Jared

On Fri, Jun 11, 2010 at 10:12 AM, manueln <MNientit at assono.de> wrote:
>
> Hi,
>
> I am using a dojox.data.Datagrid (dojo 1.4.2) to show the content of an
> ItemFileReadStore.
> The user should be able to perform a search/filter on this grid so I use the
> onchange-event of an input field to call
> grid.filter({name:input.value + "*"}) So far so good - it works very well.
>
> But it is case sensitive (as JS is, of course). Is there any way to use the
> filter case-insensitive?
>
> btw: I am new here (and with dojo), so please be kind
>
> Thanks,
>
> Manueln
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Case-insensitive-filtering-in-Datagrid-tp888647p888647.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>


More information about the Dojo-interest mailing list