|
Hello, I hope everyone is having a happy Friday. I have another basic question for everyone – How do
you reload data into a tileList or in general? So… I have a tileList that is feed from an XML
file. The user can drag items from the list to a canvas, and I remove the
item from the tileList. There is a button to clear both the tileList and
the canvas, but I want to reload the data back into the tileList. How?
Cuz my code just isn’t working. Many thanks, ~David T. +++++++++++++++++++CODE+++++++++++++++++++++ ****My TileList**** <mx:TileList
id="lstElements" dataProvider="{catalog.product}"
width="180" height="594" cellRenderer="lstThumbnail"
x="10" y="38" borderColor="#CCCCCC"
borderThickness="1" highlightColor="#FFFFFF"
dragEnabled="true" backgroundColor="#FFFFFF" barColor="#FFFFFF"
rollOverColor="#FFFFFF" selectionColor="#F0F0F0" columnCount="1"
borderStyle="solid" itemWidth="160" dragComplete="doDragComplete(event)" /> ****My XML File**** <mx:Model id="catalog"
source="elements/elements.xml"/> ****My Clear & Reload Function**** function ReloadContainers(){ lstElements.removeAll(); cvsCanvas.destroyAllChildren(); lstElements.dataProvider
= "{catalog.product}" } ++++++++++++++++END CODE+++++++++++++++++++++ Yahoo! Groups Links
|
- RE: [flexcoders] Reloading Data Question David Terry
- RE: [flexcoders] Reloading Data Question Matt Chotin
- RE: [flexcoders] Reloading Data Question David Terry
- Re: [flexcoders] Reloading Data Question Manish Jethani
- RE: [flexcoders] Reloading Data Question Tracy Spratt
- RE: [flexcoders] Reloading Data Question David Terry
- Re: [flexcoders] Reloading Data Question Manish Jethani
- RE: [flexcoders] Reloading Data Question Tracy Spratt
- Re: [flexcoders] Reloading Data Question Manish Jethani
- RE: [flexcoders] Reloading Data Question David Terry
- RE: [flexcoders] Reloading Data Question Matt Chotin

