Don't quote me on this ;-) but I believe its the Adapter Pattern (GOF)

a java swing example is here:

http://java.sun.com/docs/books/tutorial/uiswing/co
mponents/table.html#sorting

rgds

dan

--- In [email protected], "Alistair McLeod" <[EMAIL PROTECTED]>
wrote:
> Hi Ketan,
> 
> As Steven said, you should create a FilteredDataProvider that
implements the
> DataProvider interface and does the filtering for you - your
TileList then
> takes that as its dataprovider and when filtering occurs, the
TileList will
> updates its view of the data.
> 
> Here's the one Manish wrote:
> 
> http://manish.revise.org/2005/04/data-filtering-using-custom.html
> 
> Cheers,
> 
> Ali
> 
> 
> --
> Alistair McLeod
> Development Director
> iteration::two
> [EMAIL PROTECTED]
>  
> Office:  +44 (0)131 338 6108
>  
> This e-mail and any associated attachments transmitted with it may
contain
> confidential information and must not be copied, or disclosed, or
used by
> anyone other than the intended recipient(s). If you are not the
intended
> recipient(s) please destroy this e-mail, and any copies of it,
immediately.
>  
> Please also note that while software systems have been used to try
to ensure
> that this e-mail has been swept for viruses, iteration::two do not
accept
> responsibility for any damage or loss caused in respect of any
viruses
> transmitted by the e-mail. Please ensure your own checks are
carried out
> before any attachments are opened.
>  
> 
> -----Original Message-----
> From: [email protected] [mailto:flexcod
[EMAIL PROTECTED] On
> Behalf Of Ketan Bengali
> Sent: 05 May 2005 13:12
> To: [email protected]
> Subject: Re: [flexcoders] Re: Filtering data in Flex
> 
> Setting the height/width to 0 doesn't make any difference.
> 
> We wont to delete the items not satisfying the filter criteria.
> In other words update the TileList component with the data.
> 
> 
> Regards,
> 
> Ketan Bengali
> 
> 
> 
> 
> joao_m_fernandes wrote:
> 
> >Ketan,
> >
> >Did you try to set Height and Width to 0? 
> >For the datagrid it should be easy, setting a new dg dataProvider
with 
> >only the new Items.
> >
> >
> >
> >  
> >
> >  
> >
> 
> 
>  
> Yahoo! Groups Links




 
Yahoo! Groups Links

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

<*> 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