I'm having a problem getting allowMultipleSelection to work properly. I have
a form with a List control that's populated by an ArrayCollection. I cannot
seem to get multiple selection or dataTips to work. The code for the list
is:

<mx:ArrayCollection id="pages">

    <mx:Object name="Home" pageID="1" url="/index.cfm" />

    <mx:Object name="About Us" pageID="2" url="/about/index.cfm" />

    <mx:Object name="Services" pageID="3" url="/services/index.cfm" />

    <mx:Object name="Support" pageID="4" url="/support/index.cfm" />

    <mx:Object name="Contact Us" pageID="5" url="/contact/index.cfm" />

</mx:ArrayCollection>

<mx:FormItem label="Pages">

  <mx:List id="navPages" labelField="name" change="inspect(event)"

    allowMultipleSelection="true" dataProvider="{pages}"

    dataTipField="url" showDataTips="true" />

</mx:FormItem>


I've tried completely replacing the list with a DataGrid, and that doesn't
work either. I've tried setting just the bare minimum attributes for the
List control (and DG) without any luck.

I've tried this using Flex 3 Beta 2 and 2.0.1 on Mac/Safari with player
9.0.47.0. I tried it on Mac/FF as well, and it sort of worked at first
(clicking items didn't cause other items to deselect - so that's more like
another bug really) but when I reloaded the app, it behaved the same way as
Safari. I'm just building the UI at the moment, so there's no other
functionality in the app. This has got me very confused, and I haven't been
able to find any clues. I know about the Tree multiple select issue in Flex
2, is this related? I swear I've used a multi-select List control before.
Any tips would be greatly appreciated.

 - Ken

Reply via email to