Hi Piotr,

piotrz wrote
> I have questions to this class: "DataItemRendererFactoryForArrayList":
> 
> 1) You are registering for events "beadsAdded" and "initComplete" - Is it
> possible that both event will call "finishSetup" handler ? Maybe you
> should unregister once you get what you want ?
> 2) Is it possible that IDataProviderModel will be null ?

1) I did not registers those events, those were there already in the
original source. I noticed that it is always 'initComplete' which gets to
the 'finishSetup', I never seen the handler caused by 'beadsAdded' in my
tests. But anyway I rather concentrated to my part of interest than
fine-tuning original source. 
2) At this point (DataItemRendererFactoryForArrayList) so far I never see
IDataProviderModel is null. If you seen, there are some places where null
check already applied, i.e. beads. Probably
DataItemRendererFactoryForArrayList not supposed to have a null
IDataProviderModel. But of course Alex/Peter can advise on this better.



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Probable-design-to-support-runtime-update-to-DataGrid-component-tp57626p57645.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to