Row Filtering with DataTable and AutoComplete

Date: September 18, 2007

Component:DataTable, AutoComplete

Version: v2.3.1


Example using AutoComplete

Find an order by:



Example using a Filter button


The DataView class now has a method called Filter which receives as a parameters the string to search, and the column to look at:

myDataTable.Filter('foo','Title').


Also the Filter function can be chained. For example try querying for "book", and then for "aloud"

This example is an update to Victor Morales's tutorial on subclassing DataTable.

Eric Miraglia, YUI Library

(c)2006-2007 Yahoo Inc.