Thats my problem, I don't know how to clear it out.

On Mon, Oct 6, 2008 at 12:22 AM, girish kumar <[EMAIL PROTECTED]> wrote:

> hi,
>
>
> 1.
> <mx:List id="searchDisplay"
> dataProvider="{searchXML.lastResult.contacts.contactInfo}"  itemRenderer="
> SearchItem"
>       columnCount="1"  enabled="true" x="0" y="49.35" width="368"
> height="330.6667">
> </mx:List>
>
> 2. on clicking the search button clear the dataprovider and again reprovide
> the datas to the list and give itemrenderer also like this..
>
> public function onsearch():void
> {
>
> searchDisplay.itemRenderer = new ClassFactory(SearchItem);
> searchDisplay.dataProvider = {searchXML.lastResult.contacts.contactInfo}
>
> }
>
> and refresh the container...using invalidateDisplayList();
>
> ok..check this it worked fine fr me..
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to