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 <[EMAIL PROTECTED]> 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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to