Hi Rick,
Here is a basic example that you might find helpful: View Sample
-TH
__________________________________
Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office: 866-CYNERGY
--- In [email protected], "Michael Labriola" <[EMAIL PROTECTED]> wrote:
>
> Rick,
>
> Check out the filter capabilities of the list collections. Basically,
> the dataProvider of the datagrid can be filtered as you requested.
>
> --Mike
>
> --- In [email protected], Rick Root rick.root@ wrote:
> >
> > Let's say I've got a datagrid containing a persons gifts to the
> > University. Each item has a gift id, pledge id, legal and soft credit
> > amounts, a fund code to which the gift is being credited, etc.
> >
> > By default, the grid loads all of a persons gifts.
> >
> > I'd like to be able to filter the data by fund - A simple way is to
> just
> > use the sort functionality of the columns themselves, and then just
> > havee them scroll down to find what they're looking for.
> >
> > But is there a simple way to filter the contents of a datagrid without
> > going back to the server to re-retrieve the results?
> >
> > I could probably put the dataProvider into memory, then loop through
> it,
> > creating a "filtered" dataprovider and assign it to the grid.. but I'm
> > kind of hoping for a simpler solution :)
> >
> > rick
> >
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Software development tool | Software development | Software development services |
| Home design software | Software development company |
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___

