var dp: ListCollectionView = dg.dataProvider as ListCollectionView;
if (dp) dp.addAllAt(figure.getListDataAtt(), dp.length - 1);
else dg.dataProvider = figure.getListDataAtt();
* sorry, typo

Reply via email to