Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
List Control with checkbox items   Message List  
Reply | Forward Message #69360 of 149659 |
A while back, someone blogged about a custom component they'd built that rendered checkboxes in a select list.
 
I can't find the blog entry, and I can't figure out how to do this myself.  I tried using an item renderer, but the checkboxes didn't behave as I'd hoped.  What I'm looking for is a way to a multi-select list control without the need for holding down the shift or control keys while selecting items..  Our users have this in an existing (VB) app right now and they like the extra visual feedback they get from the checkboxes along with not having to use extra key strokes to do the multiple selections.
 
Any suggestions?
 
rick

--
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org


Tue Mar 27, 2007 12:52 pm

ricrootnc
Offline Offline
Send Email Send Email

Forward
Message #69360 of 149659 |
Expand Messages Author Sort by Date

A while back, someone blogged about a custom component they'd built that rendered checkboxes in a select list. I can't find the blog entry, and I can't figure...
Rick Root
ricrootnc
Offline Send Email
Mar 27, 2007
12:52 pm

The idea is to set itemRenderer="CheckBox" and maybe editable=true and rendererIsEditor=true Make a mini-test case and post it if you get stuck. -Alex ...
Alex Harui
alex_harui
Online Now Send Email
Mar 27, 2007
3:17 pm

(wow, gmail makes it difficult to quote emails from yahoo groups!) That almost works.... here's my MXML: <mx:List allowMultipleSelection="true" height="203"...
Rick Root
ricrootnc
Offline Send Email
Mar 27, 2007
3:31 pm

Anyone else got any ideas here? ... -- CFMBB - Coldfusion Message Boards, Version 1.21 Now Available! http://www.cfmbb.org...
Rick Root
ricrootnc
Offline Send Email
Mar 27, 2007
8:02 pm

here is a couple of ideas. (I didnt test these, but either 'should work') 1. have a function tied to the click event of the checkbox that adds that index to...
Clint Tredway
clinttredway
Online Now Send Email
Mar 27, 2007
8:16 pm

... Good ideas.. I'll give them a try tomorrow! Thanks for the response. Rick...
Rick Root
ricrootnc
Offline Send Email
Mar 28, 2007
1:39 am

Not sure if this is what you were asking, but here's what I came up with: http://dougmccune.com/blog/2007/03/27/list-control-for-the-one-armed-man/ Doug...
Doug McCune
dougmccune
Online Now Send Email
Mar 28, 2007
5:16 am

... Doug, that's close, but you're emulating SHIFT-CLICK functionality... I'm looking to emulate CTRL-click functionality.... But maybe I can take your code...
Rick Root
ricrootnc
Offline Send Email
Mar 28, 2007
12:09 pm

... And I did! I'll email you the code off list.... if you're interested. Rick...
Rick Root
ricrootnc
Offline Send Email
Mar 28, 2007
12:43 pm

What are you trying to do? Say you've got: _ item 1 _ item 2 _ item 3 _ item 4 _ item 5 _ item 6 If I click the checkbox on item 2, then I click the checkbox...
Doug McCune
dougmccune
Online Now Send Email
Mar 28, 2007
1:39 am

Here's an example: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" > <mx:Script> <![CDATA[ ...
Alex Harui
alex_harui
Online Now Send Email
Mar 28, 2007
1:01 pm

I was looking at the source. You'll need an inline renderer with selectedField set to some property in your data that will record whether it is selected or...
Alex Harui
alex_harui
Online Now Send Email
Mar 28, 2007
1:01 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help