flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Weir <mattcomm...@yahoo.com.INVALID>
Subject Clearing List Control
Date Thu, 29 Sep 2016 20:21:08 GMT
I'm stumped guys.  I must be missing something completely, ridiculously, easy.
list.selectedIndices = new Vector.<int>();
                var ac:ArrayCollection = list.dataProvider as ArrayCollection;
                list.dataProvider = null;
                ac.refresh();
                list.selectedIndices = null;
                list.selectedIndex = -1;
                list.dataProvider = ac;
                list.invalidateDisplayList();
                list.validateNow()
Still shows selected items.
Help!  Please :)


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