From: Kalyani Tiwari <kalyanialshi6...@gmail.com>
Date: Sun, 25 Oct 2009 23:28:44 -0700 (PDT)
Local: Mon, Oct 26 2009 11:58 am
Subject: Flex HorizontalList Dynamic Dataprovider Issue
Hi,
I have created a sample Flex application that uses HorizontalList
Now when I use static dataprovider that is if data to display is
My code for the sample app is as under:
sampleHList.mxml
<?xml version="1.0"?>
<mx:Script>
[Bindable]
[Bindable]
[Bindable]
[Bindable]
private var hListDP:ArrayCollection;
private function initHList():void
for(var itemCtr:Number=0; itemCtr<4; itemCtr++)
hList.dataProvider = hListDP;
var rendererProducer:ClassFactory = new ClassFactory
}
<mx:Panel title="HorizontalList Control Example" height="75%"
<mx:Label width="100%" color="blue"
<mx:HorizontalList id="hList" height="125" columnCount="3"
And here is the code for custom ItemRenderer:
<?xml version="1.0" encoding="utf-8"?>
Can anybody throw some light on this issue? Thanks,
Sincerely,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||