I don't know about others here but IMHO a better user experience would be to remove the selected item from the source list. This way it is not even there to be selected. Just a simple matter of removing it from the dataprovider.
--- In [email protected], grimmwerks <grimm@...> wrote: > > Here's another convoluted question -- I've got a list that is bound to an > array of a certain Class - let's cal them Permissions. In the Permissions > class you've got userId, read and write (booleans there, id for userId, > normal stuff). > > I'm using the same itemrenderer in two lists - a source list which is not > editable and a drop list which is; the itemrenderer has an 'editable' > variable and I'm setting each list's ClassFactory to this same itemrenderer, > with one ClassFactory's properties setting editable to false, one to true. > All that is good. > > Now the strange request I JUST had from someone here is that once an item is > dragged and dropped from the source list to the drop list, the item in the > source list should dim to show that it's already been chosen, unable to > choose again. I've created a property called itemEnabled in the > itemrenderer, defaulting to true (so it's ignored in the droplist basically). > > Here's the thing; it would be simple enough to set a particular item's > 'itemenabled' property in the dataproviider and it would trickle down; but > since this is a list of cast objects that don't have the itemEnabled property > it's a no go... > > So is there a way of selecting an itemrenderer or item at a certain position > in the sourcelist and setting IT's itemEnabled to false? Is it something with > the classfactory for a specific item? > > > Garry Schafer > grimmwerks > grimm@... > portfolio: www.grimmwerks.com/ >

