Ping!  Anyone?

On 9/28/07, Rick Root <[EMAIL PROTECTED]> wrote:
> I have two lists, with the ability to drag items from one to the
> other.  works fine..
>
> However, my users have asked that the data in the "destination" list
> be sorted alphabetically rather than just dropped in place.
>
> I can't get this to work though.  By default, the list items are
> dragged in and placed in the array collection where they are dropped.
>
> So I've added the following code to my dragComplete vent handler:
>
>        var target:List = List(cboSelectedFundcodes);
>        var sort:Sort = new Sort();
>        sort.fields = [new SortField("LABEL", true)];
>
>        ArrayCollection(target.dataProvider).sort = sort;
>        ArrayCollection(target.dataProvider).refresh();
>
> However, this doesn't seem to have any affect.
>
> Any suggestions?
>
> --
> Rick Root
> Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
> www.opensourcecf.com
>


-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4648
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to