Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
allMyNicksAreTaken #1
updating dataProvider
Hi, when updating the dataProvider attribute of a component, the component
doesn't update according to this new state of the dataProvider. Say i have a
LinkBar with dataProvider=links. links is an Array of objects. When adding or
removing to this array, the linkBar doesn't update. With a datagrid it is the
same problem: its dataProvider is changed, but the visualisation of the
component isn't accurate: it only displays those elements that were in the list
during initialization... Does anyone know how to update the component properly
when the dataProvider changes? greetz
allMyNicksAreTaken Guest
-
Updating Updating site map or archive dynamically
Hi there! ;-) Posted in Site Design as well.... Anyone know if there is a way to use Contribute to automatically/dynamically update a site map... -
questions about dataProvider,please help me
i am new to Flex.thank you for your help. According the "Developing Flex Applications", "The Array class implements the data provider API, so... -
Combobox Dataprovider
I have just downloaded the 60 day trial edition, and am trying to populate a combobox from a java method that returns an array object. I am not... -
How to populate a DataProvider with XML and AS only
Hi there, after having spent 2 hours, I decided to get some help from you. Here's what I'd like to do. I have an XML file that I'd like to... -
Updating AI Files causes position to 'bounce' when updating in Quark
Is there any way to build Illustrator files so that no matter what edit you might come back and make to the AI file, when you update the modified... -
ntsiii #2
Re: updating dataProvider
Use the dataProvider API methods, not the low-level array fintionality like
"push", or myArray[n] = "whatever". These do not cause the dataProvider to
emit the modelChanged event.
Use addItem(), addItemAt() etc.
[url]http://livedocs.macromedia.com/flex/15/asdocs_en/index.html[/url]
Tracy
ntsiii Guest
-
allMyNicksAreTaken #3
Re: updating dataProvider
when i use the methods of the DataProvider class on an array that acts like a
DataProvider, does this mean the array itself is changed as well? Because i use
the same array over and over again for several dataProviders. When one
component changes its dataProvider, this needs to be reflected in all the
opther componets that use the same array as dataProvider... thanks
allMyNicksAreTaken Guest
-
ntsiii #4
Re: updating dataProvider
Yes, the dataProvider API works on the underlying array.
Tracy
ntsiii Guest



Reply With Quote

