Heh, I wish it were that simple :) Yeah, I know how it *should* work, but the problem is that isn't working. Oh, and you're right about the datatips - my mistake, should've read the docs closer. Any ideas why multi-select wouldn't function on a List or Tree? Is there something about it being inside a Form control?
On Nov 30, 2007 2:05 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > multi-select requires CTRL and SHIFT keys along with clicking or arrow > keys. Are you doing that? > > datatips don't show up unless the string can't be fully seen. > > ------------------------------ > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Ken Dunnington > *Sent:* Thursday, November 29, 2007 10:10 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Strange multiple select bug in List > > 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 > > > -- Suppose you were an idiot. And suppose you were a member of congress. But I repeat myself. -- Mark Twain