flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject ADG is reset on dataProvider refresh
Date Tue, 15 Mar 2016 16:45:38 GMT
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;
super.dataProvider = value;


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message