I have to filter  a dataProvider of an ADG. As soon as I refresh() to see
changes DataGrid is reset. All columns have lost their custom layout.
What's the best way of handling that problem?

Here is my code:
override public function set dataProvider(value:Object):void
{
if (value)
{
addEventListener("AlarmManagementImagesLoaded", loadAlarmManagementImages);
ArrayCollection(value).filterFunction = watchListFilterHiddenAssets;
ArrayCollection(value).refresh();
super.dataProvider = value;
}
}

Thanks

Reply via email to