What about dynamically loading cursor/radios within the grid

I have a DataGrid and I use ItemRenderers to dynamically load components such as images and buttons it contains. Now, I wanted to know if its possible to load a cursor or even a radiogroup based on values that the datagrid receives dynamically. If a cursor is used it must be calibrated with data it receives from the dataProvider on the grid. Similarly, if a group of radio buttons is used, I should be able to make number of radios based on data provided to datagrid.

I essentially build an application for image search, where I want to give a slider or radios (within each row of the datagrid control) with different sizes in which the same image is available. The user must be able to choose a size, and then continue with the procedure continues.

Let me know if this is possible. Thank you.

Very well. Then you will probably need to specify e4x for the HTTPService resultFormat property and then use the e4x syntax to get these channels.

http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=13_Working_with_XML_03.html

If this post has answered your question or helped, please mark it as such.

Tags: Flex

Similar Questions

  • Problem with passing parameters to an HTTPService on buttonclick within the grid

    I have a DataGrid where I use ItemRenderers to render components such as buttons n Images within the grid. Now, I need to pass parameters to an HTTPService on click of a button. If the button is directly on the form (not in the grid), is easy to call HTTPService. But given that the button is in a grid, it is not able to resolve the HTTPService and so I can't call the HTTPService on ' click on ' event of the button.

    I would like to know if anyone can help.

    You should probably use click = "outerDocument.myClickHandler ()" "

    The outerDocument allows you to access the methods outside of the rendering engine.

    If this post has answered your question or helped, please mark it as such.

  • If Google is encrypted on Firefox, what about Yahoo? And that, said the do not active channel followed just the opposite. Help, please!

    If Google is encrypted, what about Yahoo? In addition, said do not select do not follow because it activates the contrary - at least with Google - all comments?
    Thank you.

    The setting of 'Do not Track' is a feature of private life, the effectiveness of which depends on the destination site. If you choose to have Firefox send one request of 'Do not track', it is up to the site to honor this request. Some, some will not.

    I don't know what Google does in response to the TSD, but if you are connected to your Google account when searching, so of course what you do are already linked to your account...

    About Yahoo, search Yahoo via a secure connection? You might install or create a custom search plugin that uses the HTTPS protocol rather HTTP if your search bar and address bar searches are automatically encrypted. I would like to know if that's what you had in mind.

  • How to read a variable main.swf (this content.swf of load) and use within the loaded movie?

    Hello

    How to read a variable main.swf (this content.swf of load) and use it within the content.swf?

    I have a variable called TextColor = 'Green' handmade film and I want to read this variable from inside the content movie?

    anyone can help!

    Thank you very much.

    MyGiantBrain thanks for your reply but kglad method worked very well.

    Thanks kglad but there is some changes to your code so that it works, and it is:

    trace (MovieClip (parent.parent) ["TextColor"]);

    Thank you

  • Elements do not stay within the grid

    Hello

    I am new to Muse, so maybe this is a stupid question, but I looked around for an answer and I can't seem to find a.

    On a fluid layout, I have a grid with 6 columns. I expect to be able to position elements in the columns of the grid, and that these elements would remain in the grid with Responsories. Instead what happens is that they become bigger that the grid of the width of the browser is reduced, so they get into the gutters.

    What I'm looking for, it's for boxes stay in their columns, when in the smaller size, but also to the larger size - what I currently have is the following:

    Screen Shot 2016-08-01 at 11.39.17.png

    Screen Shot 2016-08-01 at 11.39.31.png

    I created the page with the following margins and gutters, and I need those that stay the same

    Screen Shot 2016-08-01 at 13.11.46.png

    Yes, there is an easy solution to what I'm missing?

    Thank you!

    The grid in Muse is nothing other than support of page/design layout. It is not designed as a tool of support of responsiveness.

    Grids and guides reposition in a significant way.

  • After you have imported into Muse, clicking on links load new page within the animation

    I created an animation (cursor functionality with button) and placed a link on the button to go to another page via the "_self" tag at the end after the url tag.

    Once I import into Muse, and then publish... I clicked on one of the buttons with a url link to it which should replace the current page with a new page... but it loads the new page as part of the animation! A slap.

    Is this a bug? Here's a live link and click on the button in the animation of cursor 'BUY THIS THEME' and you'll see what I mean.

    Or I do something wrong?

    Use rather _top as the target url.

    Darrell

  • Met cursor jumping within the element of list forms

    Hello world

    I have this item in the list that is populated by record group. When click a value in the list (as expected), it climbs to another form and then do remove it from there. The problem is when I closed the form called (records all measures was), when I'll be back in the list, waiting list update its value (to not display the record that has been deleted (which is what is happening - I have the script to populate the list at a time new point instance) but when click on in the list it gives me to jump the cursor in the value (when I clicked on the second value it is selected) third or another value in the list)

    hope you can help me with this... Thank you

    go_record does nothing with the selection list. It causes forms to navigate to a different record in the current block. is the block where the listitem is placed a block of data? If so, create a new data-block non-base and put the listitem. to refresh the list, just call the same code that you use in the when-new-form-instance-trigger.

  • What about clones related if I delete the VM related to?

    I need to free up some space in my data store (there is only 135 GB for this proof of concept). I need to remove the base and keep the clones or shrink the base. I'm not sure that it is still possible because the setting is gray out.

    Thank you.

    The clones are related to the replica, so if you remove the replica, they will no longer work.   Is there a way you can reduce the number of clones or possibly balance on another data store?

  • What about the structure of the files in ISO/IEC-7816, this concept is not in jcard.

    Hi all

    I've read about ISO 7816-4 and he talk about MF, DF, EF files which are used in smart cards, I use the java card.
    I'm reading java card but I have not read about the structure of these files,
    According to iso/iec-7816-4, A4 is an INS to SELECT a command FILE. In scosta if I want to record the name of the smart card then I do

    * 1 *-create MF
    * 2 *-create Df (INS - E0)

    * 3 *-create ef with record structure(INS-E0) oriented

    * 4 * run the command "write" record (* INS-D2 *)
    and now I can read this name when I want it using the read record command.
    -------------------------------------------------------------------------------------

    I just want to know that if I want to record several names in java card (in java card eeprom) so what line I need to write within the PROCESS of the applet () method.
    -Permanent how to record in the smart card memory?
    -How I read the perticular data or the location where name exists?

    Thanks in advance...

    Published by: rohit pathak on 9 February 2012 22:41

    Published by: rohit pathak on 9 February 2012 22:42

    Hello

    I think you should start new threads of each for a question. It will help others too to get info and advice and this is as good for you as more expert will look at them and you will respond.

    Concerning

  • Panel by tabs within the dynamic region

    Hello world

    I have 3 dynamic region, each region has a panel with tabs by pressing the page the first book of the region very well when to navigate between tabs (af:showDetailItem), the second region it does ' t work when navigate between tabs is like opening frozen just first tab (af:showDetailItem) and the same with the third region?

    any help?

    I use JDev 11.1.1.3.0

    Hello

    the managed bean that keeps the dynamic region TaskFlowId is within the scope of default backup bean. Change the scope of the viewScope bean and also change all EL references to the bean accordingly (on the page and the binding of workflow in the PageDef file)

    Frank

  • Question about the Manager of messages in queue and dynamically load/close Subvi

    Hi, my dear LV users

    I learn how to use the machine in queue Sate Architecture. I created a simple project, including a "main.vi" to dynamically load a sub vi 'sub_Vi2.vi' in the case of "initialize". The sub vi simply open a configuration file and load affecting some control and write these values in the configuration file. If the configuration file is not created, the sub vi creates until the user closes the Subvi.

    In the case of "Get out" of my "main.vi", I send 'true' to the Subvi stop button to stop running it. But the sub vi did not write these values back to the configuration file, or created a new when I delete the configuration file.

    There is another vi I made 'main1.vi', which loads dynamically and close the Subvi. And it works as well as I expected: create the file and write data!

    Can someone help me understand the code? I've also attached the front of diagrams and source code. It's in 2012 LV.

    Best regards

    Li CQ


  • What's wrong with the dynamic region within the static region

    Hi all

    I use Jdeveloper 12 c

    I do app with a jsf page (man.jsf) contains the static region (xxx.jsff)

    the static region contains a dynamic region and I define the scope in the tent (adfc-config) (backingbean extended, scope of the request, see scope)

    the result is main.jsf is empty

    hand. JSF > > xxx.jsff (static region) > > bb.jsff (dynamic region)

    http://127.0.0.1:7101/face/hand? _afrLoop =

    What is the solution for this problem.

    Hello

    Actually the managed bean used by the static region should be extended to at least view. The managed bean should be defined in the configuration of the workflow of the static region.

    Frank

  • Dynamically loading the interface from a remote source implementation class

    Hello guys,.

    I'm kind new to AS3, please bear with me.

    I'm working on a project were I want to implement some sort of MVC. The idea is this: have an application Viewer that connects to a database and reads the object to display (based on some ID); have an app Setter that connects to the database and sets the object to display for a particular ID.

    What I'm trying to do is to have an interface that declares the common methods for the object class (like the draw, etc.) and have implementations of this interface be dynamically loaded from the database in the Viewer.

    Is this possible? I still think about it in the right way?

    I'd appreciate any suggestions really.
    Thank you

    If you check the book by peldi et al., u would have found what you're talking about. The principle u want to talk is easy to do. This might get u started (it is FMS but the idea is the same): http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/flashmediaserver_3.5_sslr.pdf - p.28 - application.registerClass () method.

  • What should I do when I receive the message 'unable to load the flash shockwave.

    What should I do when I receive the message 'unable to load the flash shockwave.

    Hello

     
    1. how many times you get this error message? This problem is limited to specific Web pages?

    2. Once you get this error message? What is your default browser?


    Find out what version of Internet Explorer you are using

    3. have you installed new hardware or software before the show?

    4. What is the operating system installed on the computer?

     
    5. are you logged in as administrator?
     

    Method 1:
    If you are facing problems with Internet Explorer 9, I suggest you read the article and try to run theFix it:
    Troubleshoot Internet Explorer to IE quick, safe and stable
    Note: Note that the reset Internet Explorer (IE) resets all settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.
     
    Method 2:
     
    a. search for Internet Explorer in the start menu.
     
    b. right click and select "Run as Administrator".
     
    Check if the problem occurs.
     
     
    Method 3: Uninstall and reinstall Adobe Shockwave
     
    To uninstall a program
     

    I also suggest you to download and install the latest version of Adobe Shockwave player and check if that helps:
    Provide more information about the issue so that we can better help you.
     
    I hope this helps.
  • dynamically load the Options in a drop-down list in C++

    Hey guys,.

    I'm trying to dynamically load items Option in a drop-down list by using C++.  I have a function in my class of WorkManager file that does the trick:

    QStringList WorkManager::getListOfItems() {
        int i = 0;
        QStringList taskNames;  // used for debugging mainly, so i can print the list out to debug
        QList  myObjects = m_model->toListOfObjects();
        DropDown * dpList = bb::cascades::Application::instance()->scene()->findChild("scriptListDropDown");
        if (dpList != 0 ) {
            dpList->setSelectedOption(0);
            dpList->removeAll();
            for (i = 0; i < myObjects.size(); i++) {
                Task * myTask = (Task *) myObjects[i];
                taskNames.append(myTask->taskName());
                dpList->add(Option::create().text(myTask->taskName()).value(myTask->command()));
    //          delete myTask;  // do I need to delete the task object?
            }
    //      qDebug() << "WorkManager::getLIstOfItems(), ---> list of tasks is : " << taskNames;
            return taskNames;
        } else  {
            qDebug() << "WorkManager::getListOfItems(), ---> dpList was 0";
            return taskNames;  // empty list
        }
    }
    

    I also found this thread:http://supportforums.blackberry.com/t5/Native-Development/Adding-options-to-a-DropDown-from-c/m-p/21... that helped me get the filled drop-down list when the application starts.

    However, I need to re - fill list from time to time, when the list (a GroupDataModel) changes.  calling the function above a second time anywhere in my application appears to hang the application immediately.

    I think / thought it might have something to do with the slot for the onSelectedValueChanged, but I can't understand it.

    It seems down right when I do dpList-> removeAll().

    I also can't seem to find the right place to call this function to an object of type in my class.  I think it's because the drop-down list is not ready yet as the dpList * is always 0 unless what I call after the line:

    app->setScene(root);
    

    in the applicationui.cpp file.  Calling it works on start-up, but trying to update the list later (by removeAll() and recreate) causes the app crashing.

    is there a better way to do it?  .. and make it safer?  I can't understand how to do this.

    Thank you!

    J

    First, drop the:

    dpList->setSelectedOption(0);
    

    Not only if it is not necessary, but it will explode your application if the function is called when there is already no options in the menu dropdown.

    Also, do NOT delete the task, because it is still owned by the datamodel. I also see that you use type casting C, which just blindly accepts your cast, even if it's a mistake. Instead, if you know for sure what kind it will be this way instead:

    Task* myTask = static_cast(myObjects[i]);
    

    If you are not sure if the type you are casting the is the type you need, use the dynamic_cast instead:

    Task* myTask = dynamic_cast(myObjects[i]);
    

    The advantage of this more static_cast , is that if you try to perform a type cast is not compatible, then myTask will be set to NULL.

    Alternatively, Qt offers a replacement for dynamic_cast which works on platforms where is not regular C++ casts.

    Task* myTask = qobject_cast(myObjects[i]);
    

    It is functionally equivalent to dynamic_cast, but as I said, it works on all platforms that Qt exists, whereas dynamic_cast cannot.

    Once you did get back to us.

    oddboy wrote:

    Hey guys,.

    I'm trying to dynamically load items Option in a drop-down list by using C++.  I have a function in my class of WorkManager file that does the trick:

    QStringList WorkManager::getListOfItems() {
        int i = 0;
        QStringList taskNames;  // used for debugging mainly, so i can print the list out to debug
        QList  myObjects = m_model->toListOfObjects();
        DropDown * dpList = bb::cascades::Application::instance()->scene()->findChild("scriptListDropDown");
        if (dpList != 0 ) {
            dpList->setSelectedOption(0);
            dpList->removeAll();
            for (i = 0; i < myObjects.size(); i++) {
                Task * myTask = (Task *) myObjects[i];
                taskNames.append(myTask->taskName());
                dpList->add(Option::create().text(myTask->taskName()).value(myTask->command()));
    //          delete myTask;  // do I need to delete the task object?
            }
    //      qDebug() << "WorkManager::getLIstOfItems(), ---> list of tasks is : " << taskNames;
            return taskNames;
        } else  {
            qDebug() << "WorkManager::getListOfItems(), ---> dpList was 0";
            return taskNames;  // empty list
        }
    }
    

    I also found this thread:http://supportforums.blackberry.com/t5/Native-Development/Adding-options-to-a-DropDown-from-c/m-p/21... that helped me get the filled drop-down list when the application starts.

    However, I need to re - fill list from time to time, when the list (a GroupDataModel) changes.  calling the function above a second time anywhere in my application appears to hang the application immediately.

    I think / thought it might have something to do with the slot for the onSelectedValueChanged, but I can't understand it.

    It seems down right when I do dpList-> removeAll().

    I also can't seem to find the right place to call this function to an object of type in my class.  I think it's because the drop-down list is not ready yet as the dpList * is always 0 unless what I call after the line:

    app->setScene(root);
    

    in the applicationui.cpp file.  Calling it works on start-up, but trying to update the list later (by removeAll() and recreate) causes the app crashing.

    is there a better way to do it?  .. and make it safer?  I can't understand how to do this.

    Thank you!

    J

Maybe you are looking for