Property null not found

When you got error message like "Property null not found ***", try to fix it by the following way:

1)if you are using AdvancedDatagrid, make sure you only update the data in the data provider instead of setting a new reference to data provider each time.
right way:
(dgPortfolioViewer.dataProvider as ArrayCollection).removeAll();
(dgPortfolioViewer.dataProvider as ArrayCollection).addAll(value);

wrong way:
dgPortfolioViewer.dataProvider=oldData;
dgPortfolioViewer.dataProvider=newData;

2) make sure the propery name in datafield is existed in your object

你可能感兴趣的:(datagrid,Flex,Advanced,propery null)