How to access checkbox in mx:list

I'm trying to access the checkboxes in my list
<mx:List itemRenderer="mx.controls.CheckBox" x="0" y="153" id="listVocab" height="297" width="313"></mx:List>
but I can't find a way. This is what I'm doing
        for(var i:int = 0 ; i < listVocab.numChildren; i++)
                if (  I want to access the checkbox here to see if it's checked  then do the below but I don't know how to access the checkboxes??? )
                // This gives me access to the text but                 
               var word:String = listVocab.dataProvider[i].toString() ;

Problem is with dataProvider your assigning to dataGrid is of type Array of Strings so thats why its saying selected property is not available on String.
Code given above by me will work for arrayCollection having objects of following type instead of just plain strings:
public class CustomClass
         public var data:String; // here id you can store
        public var label:String; // here word you can store
        public var selected:Boolean;
You can make modification to
public class CustomVocabulary
        public var sentence:String;
        public var type:String;
        public var dbId:String;
        public var words:ArrayCollection; // this will contain objects of type CustomClass.
<mx:List id="list" dataProvider="{ customVocabulary.words }"

Similar Messages

  • How to access the stored password list of N9 nativ...

    How to access the stored password list of N9 native browser?

    most everything should be listed here.
    there was a way to see the website data and stored information, but not the passwords. they were ************
    you were only able to delete the login information, and unfortunately, since i have not used the device in so long, have forgotten the language.
    so you will have to dig a bit.
    it was a command that you would enter into the browser address bar.
    if it comes to me i will repost, but for now...check here.
    http://talk.maemo.org/showpost.php?p=1104892&postcount=1

  • How to access a value from "List of Values" by giving a name?

    I have a "List Of Values" defined in my BI Report. It comprises list of label-value pairs.
    I have defined a parameter :p_Value for the above "List Of Values" defnition. this parameter is used in datasource sql defnition to filter the query results. I configured a template which has a table that shows all the parameters used for filtering query results. If I give <?$p_Value?> in the template then the parameter value is rendered on it. But I want the "name" of the parameter and not the value. Can anybody tell me how to access name of the parameter which refers to one of value in "List of Value" defnition?

    option 1:
    Can you get the value from the DB in the report sql ?
    You have the code, inside the report query, if you can get the decoded value form that
    option2:
    create another paramater, LOV and query, and make it as hidden, and use the first :param_1_value in the lov query in the second param and decode the value.
    Now , you can refer the :PARAM_2_value in template which will have decoded value.

  • Can't see how to access my iTunes wish list on my iPhone?

    Hi,
    Is there any way to access my iTunes wish list on my iPhone?
    The advice I've found so far is to look for a 'quick link' which is accessible from a home icon but I can't see any home icon in iTunes on my iPhone?

    ''volleydogt wrote:''
    It had a tool bar at the top with File, Edit, View, History, bookmarks, etc.
    Right-click an empty area of the tab bar and check "Menu Bar".
    Your bookmarks are accessible from the Bookmarks button on the navigation toolbar. It's the wide button on the right side of the address bar with a star to its left.
    Your history is accessible from the History button under the ≡ Menu Button panel. You can right-click an empty area of the tab bar and choose Customize, then drag the History button onto the navigation toolbar if you like (that's the area with the Back/Forward buttons and the address bar).
    If you'd like to completely revert Firefox's appearance, install the Classic Theme Restorer add-on and restart Firefox when prompted.
    * https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    * [[How to make the new Firefox look like the old Firefox]]

  • How to Get checkbox value when List value changed in classic report

    hi ,
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    regards
    Ahmed

    Hi Ahmed,
    >
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    >
    You should not create checkboxes like this. Either use the APEX_ITEM.CHECKBOX2 API or change the Column Type to Simple Checkbox.
    >
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    >
    name="f01" returns an array, what you need is single element value.
    Try
    <script type="text/javascript>
    function test(pThis) {
      var f01_value = $v(pThis);
       alert('#SEQ : '+ f01_value);
    </script>
    {code}
    {quote}
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    {quote}
    Depends in how you are invoking/triggering the change event. Are you using DA or have you written an "onchange" event on the element?
    Cheers,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Access - How to create Mail Address only list?

    Printing envelopes from mail lists - via Microsoft Excel? Access - How to create Mail Address Only list?
    Bearing my "new boy" status, step by step instruction would be appreciated.

    Hi
    This is a question only about the Microsoft products and has nothing to do with Toshiba notebooks but I have investigated a little bit in the net and found this useful sites:
    http://support.microsoft.com/kb/q141991/
    https://www.nahu.org/member/using%20excel%20to%20create%20lists%20and%20labels .pdf

  • HT1491 how do i access my itunes wish list from iPad or iPhone?

    I cannot figure out how to access my wish list in iTunes on iPad.
    Is this feature not available on mobile devices?

    Thanks for your answer.  Prior to submitting my question, I called Apple Support and they tried to sell me a software insurance policy for $249.50/year before they would answer my question.

  • How do I access my iTunes wish list on mini pad purchased 1/11/2013?

    How do I access my ITunes wish list?  I cannot find a link.

    Thanks for your answer.  Prior to submitting my question, I called Apple Support and they tried to sell me a software insurance policy for $249.50/year before they would answer my question.

  • In iTunes, I have a number of tones stored.  I don't know how to access them to add to listed people on my iPhone. I would appreciate any help.

    In iTunes, I have a number of tones stored.  I don't know how to access them to add to listed people on my iPhone. I would appreciate any help.

    Drap and drop the tones from iTunes onto the phone. Select the contact you wish you add the tone to. Click edit and select ringtone.

  • How to access contact list while a call is going o...

    Can anybody how to access contact list while a call is going on or call is on hold in Nokia E5 moblile?

    Hit the menu key, to switch to the application menu, and open the Contacts app; the E5 supports multitasking just fine.

  • How set Access forms to lists in Sharepoint?

    I need to create new view for list like Access form in Sharepoint. I go to Lists-Parameters -> Create View -> Access view.
    Then I create form in Access and save in Sharepoint site. This file have saved like .accdb. How I can choose this view for default view for my list?

    Hi,
    According to your post, my understanding is that you wanted to use the Access view in a list.
    There is no OOB way to use the Access view as a default view in SharePoint 2010.
    In SharePoint 2010, when create an view in Access 2010, you can only choose to ‘Save to SharePoint Site’ to save the .accdb file to a SharePoint document library.
    User then can access the reports or forms in the document library instead. The .accdb file will be opened in Access application.
    If you publish the Access database to Access Service, it will create a new site for the Access database, you can view the forms and reports in browser.
    For more information about publish a access database to SharePoint, you can refer to this site:
    SharePoint 2010 and Access 2010: http://www.youtube.com/watch?v=Dq-tDuPfgZc
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to access the contact list before i had updated.

    how to access the contact list before i had updated IOS7.
    My contact list has gone now....

    I am not sure about the syncing problem, i just use my apple ID.....
    what should i do, if i didn't do the syncing step:(

  • How to get access to my contact list?

    I have successfully (?) installed Skype on my Galaxy tablet and logged in using my account name from my laptop version. But I cannot find my contact list. How to get access to that! Even my photo is present!

    Hello Everyone, I'm trying to access my Skype contact list on my Galaxy S3 so that I can edit it, but I do not seem to be able to.  I've gone to the help page to try and find out where it is, but the steps say to tap the three dots in the upper right corner for "More"...but I do not have that emblem?!?!  Has this issue been resolved, or are people still unable to access their contacts?

  • How can I find out the list of users who has the access to IT 0008

    All,
    How can I find out the list of users who has the W R permission for IT 008
    for others?
    SUIM doe not look like giving me the correct results.
    Please advise.
    Thanks,
    From
    PT.

    combine tables AGR_1251 and table AGR_Users on keyfield AGR_USERS
    in tabel AGR_1251 select on Field LOW values IT0008.OR W OR R,
    noiw you get also other values
    So better solution run the query twice over AGR1251 first on IT0008 and secondly on values W OR R and then the result over table AGR_USERS
    Youu also might put an additional selection on object P* (only selecting HR objects)
    output wll be UID in table AGR_USERS

  • I need to restore a calendar to my iPad. I checked Itunes but the iPad is not listed as I ahave never sync'd it before. I do have iCloud but not sure how to access to sync. Thanks for any help.

    Need to find out how to get a calendar back on my iPad. Pretty new to Apple. Only one pf my 5 calendars was deleted. Do have iCloud backup just not sure how to access. iTunes has never been sync'd with iPad. Thanks for any help.

    No problem. See the restoring topic of:
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software

Maybe you are looking for