you can do dp.datagrid as ArrayCollection).removeAll();
thx but if I've bound the dp then i won't need to call invalidateList();
Yup.. If u call remove all then u don hav to
as far as I see there is no way to get the dp to be null, looks like I will have to change my unit test to check for 0 length dp source
Assert.assertEquals((view.adg.dataProvider as ArrayCollection).length ,0);
Yup.. Tht shud wrk..
wonder why the sdk stops you setting the dp to null?