Hi,
I have requirement for providing dataprovider property for my custom panel
component as like list based components. My custom component is derived from
native Panel component (for my requirement i have derived it from Panel
component).
How to implement the dataProvider property for Non-List based components
and is it possible?
Actually i have provided property like following:
public function get listDataProvider():IList
{
return dataGroup.dataProvider;
}
public function set listDataProvider(value:IList):void
{
dataGroup.dataProvider = value;
dispatchEvent(new Event("dataProviderChanged"));
}
But the values are not shown in the component while executing.
For reference here am showing the image,
Am setting the same arrayCollection value to both native list and my custom
panel component. But result is not shown in my custom panel component.
[image:
PanellDataProvider.JPG]<http://forums.adobe.com/servlet/JiveServlet/showImage/78468/PanellDataProvider.JPG>
What i have to do to show the collection value in my custom panel component
(derived from panel)?
--
Regards,
Manikandan.S <http://www.umoldit.com>
<http://www.umoldit.com>
--
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.