[Dojo-interest] Filter to all columns in FilteringTable
Tom Trenka
dojo-interest at dept-z.com
Wed Jan 10 08:05:28 MST 2007
Use the same filtering function for all the columns in question.
trt
Szabolcs wrote:
>
> Hi,
>
> I need a filtering mechanism in a FilteringTable that shows only rows
> that contains a specific text in any of its fileds. (kinda searching)
>
> e.g.:
> Given this table:
> A | B
> -------
> aa|bb
> cc|ac
> dd|ee
>
> I write in a Textbox: 'a', the FilteringTable hides the last row, but
> shows the first two:
>
> A | B
> -------
> aa|bb
> cc|ac
>
> As far as I know ft.setFilter(columnName, fn) works separately for
> columns.
>
> Any idea how to do it in a simple way?
>
> Thx,
> Sammy
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
--
View this message in context: http://www.nabble.com/Filter-to-all-columns-in-FilteringTable-tf2951859.html#a8258826
Sent from the Dojo mailing list archive at Nabble.com.
More information about the Dojo-interest
mailing list