How to change the selected index of a list of a DG?

It is probably simple and I'm in the right place. I have a datagrid. When I select an element of the DG, he fills out a form that can be updated. One of the form fields is a list control with a remote object values. I want this list to highlight/select the value that corresponds to that of the DG when the item is selected. For example if I have a list of numbers 1, 2, 3, 4, 5 and the question that I select in the DG contains a 4, then I want the list to automatically select 4 as a default in the list when I select the element of the DG.

You must loop through the result of your RemoteObject looking for a match, after that you have added to the list. I posted a sort of model of example to show what I mean, yours will be different of course, but I think you can grasp the concept based on what I'm trying to show.

Tags: Flex

Similar Questions

  • How to change the z-index of lively edge

    Hi guys,.

    I am trying to create a 3d rotating carousel in which the object right should move to the left behind the objects in the middle.

    for this I need to change the z-index.

    is it possible to change the z-index of a label to?

    or do I have to create a new layer-order label label?

    You can add timeline trigger to the position of the label like this for example:

    SYM.$("rectangle"). CSS({"z-index":-10});)

    SYM.$("Rectangle2"). CSS({"z-index":10});)

    HTH,

    Vivekuma

  • How to change the selectable languages for spell checking?

    Hallo community Mozzila

    After using Firefox to group every night 23 on Chakra Linux via and I think it has messed up my settings speller via Firefox sync.

    The problem of the pop-up on openSUSE and Chakra Linux but not in Kubuntu 12.04 (it has its own language packs).
    I want to have German and English GB and maybe Bosnian or Croatian spell checker, but I cannot select via right click - languages.
    Now, I have Chakra Linux and openSUSE 12.3 Firefox 20 by perhaps 30 default languages installed but I can not select the language I want.

    For example the Chakra Linux Firefox 20 I only selectable variants, German back Germans, German Belgium... and then, and I can't select another language via the module or about: config spellchecker.dictionary; so I need to edit the right click language selector to bring it to work, it stay alwas on a German Variant.

    2 example on openSUSE cannot select German and En_GB, but I can't select a bunch of other languages, that I did not need in the click languages Selector right.

    Both are Firefox 20 with openSUSE KDE changes and have installed the available spelling dictionary.

    So, how can I change the list of selectable languages on the languages right click?

    OK, this is now resolved.

    In Chakra hunspell English was missing and on openSUSE, a seller has changed of Mozilla and now it works very well.

    Sorry to the comminty boreder

  • How to change the selection in the layout of the text Mode

    Can I change the mode of selection in read-only, read-select and read - write.

    Concerning

    Varun Roulin

    http://www.vrathore.blogspot.com

    For a TextFlow which is achieved by assigning the interactionManager.

    textFlow.interactionManager ReadOnly = null;

    reading-select textFlow.interactionManager = new SelectionManager();

    read / write textFlow.interactionManager = new EditManager();

    Kind regards

    Richard

  • Hi there, I chooce to open wordpad, but it isn't good then I need to now how to change the selection to please, thank you

    That's what I now please, thank you

    You can click right on the document, and under "Open with", click on "choose program by default... "to select another program to open the file.  Be sure to focus on the checkbox "Always use selected program to open this type of file" near the bottom and decide if you want that all documents currently open in Wordpad to open in your new selection.  Also, you will need to have an another word processor installed that will open documents in RTF format.  If you do not there are now office and word processing free programs such as: http://www.openoffice.org/ and http://www.libreoffice.org/download/ be aware that these programs are more powerful but also more complicated than Wordpad.

  • How to change the selected part of the pdf

    I would like to create a contract in pdf format. Is it possible to create the ONLY part of the text allowed to edit? For example: on behalf of the company to fill the street and...
    How to do step by step?

    Use the form fields.

  • How to change the selection mask and layer image together?

    I have a newbie question.

    On Photoshop CS6

    I have a picture with a layer mask, which is related, as evidenced by the string between the image and the mask. I make a choice and try to apply a scale in free form, but I can only to scale the image or layer mask, not the two together. Don't seem much sense to me, everyone knows the answer?

    I have to set up a demo'ing youtube video my problem to make things clearer, link here: http://www.YouTube.com/watch?v=-Z6E98FZzMo

    Any help would be great

    Hello

    You only select the layer and not the layer with mask.

    Try this:

    With nothing selected, select the layer in the layer panel and then free transform.

    This should affect the layer and mask.

  • How to change the selected B & W images

    I have a collection of say 20 color images. I want to apply the same processing black and white in every 20. When I'm done, I wish I had pictures of 20 original colors and their 20 black and white conversions in the same collection. Is this possible? And could you explain?

    Thank you

    Pat

    PS I'm new to Lightroom 3.3

    Select all,

    Command N (PC), command N (Mac) to create a new collection.

    Select everything in the collection, right click > create a virtual copy.

    Press V

    You should now have color and B & W images in a collection.

  • How to change the highlight color for windows 7 (select the file or folder)?

    How to change the highlight color for windows 7 in the aero theme (select the file or folder)?

    You can change the font size because it is not a widget.   To do this:

    1 type dpi in your Start menu search box, and then choose make text and other more or less important.
    2 - Choose a size you prefer
    3 - Click on apply.
  • How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    How do I reselect the type to change.  I have a text template that I want to, but when I try to select it with the text tool always creates a new text layer.  How to change the type of the layer in my registered design?

    OK, Bob. This give a try.

    First, open a new file and make sure the background is white, not on Transparent that I suspect you have currently defined.

    Then, type your copy. Your layers panel will then look like the top of this picture...:

    and when you drag the text on the image layer, it will look like the lower part of the sample above.

    You can then position the text layer with the tool move

  • Dreamweaver CC: How to change the color of the selected text

    Maybe a stupid question, but I can't seem to figure it out, even with searches on the web.  I want to change the color of a single word in my HTML document.  Can anyone offer advice?

    I can change some styles of the selected text (bold, italic, etc.), but do not understand the color.

    Also, I know how to change the color of the different elements using CSS.  But for the selected text in an element, CSS here the simplest solution?

    Thanks in advance.

    carlg79335635 wrote:

    Thank you for that.  But I don't have a color option in my menu format.  It ends at some CSS Styles.  I have to allow him anywhere?  I use Dreamweaver CC.

    Yes.  I checked it and in CC DW, there is not a way to do as I suggested previously.  I was watching DW CS6 and he got it.

    Looks like you'll need to teach how them to manually code.  This will make them think about what they are doing and so concentrate better.

  • I NEED TO KNOW HOW TO CHANGE THE BACKGROUND COLOR OF MY INDEX FINGER. HTML PAGE

    I need to know how to change the background color of my page index.html on Dream weaver cs6.

    With CSS:

    {body

    background-color: #FF0000;

    }

    Nancy O.

  • How to change the default "/" shortcut (select none in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    How to change the default "/" shortcut (select 'none' in the shade of color) to something different? Where can I find this in keyboard shortcuts?

    Any ideas?

    In the Tools menu:

    "Apply no color."

  • How to change the background color of selection of the selected item in the drop-down box of choice?

    How to change the background color of selection of the selected item in the drop-down box of choice?

    By default, the selection background color like 'blue', but if I want it to be "yellow" for example, how should I do?

    Thank you

    The id is applied by (I think) the skin of the ChoiceBox class. You don't need to define.

    You must apply the css in an external style sheet. You can apply the external style sheet to any parent of the box of your choice, or on-site (the most usual way to do it).

    Example:

    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class ChoiceBoxTest extends Application {
    
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
    
        final ChoiceBox choiceBox = new ChoiceBox<>();
    
        List tempResult = new ArrayList();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        }
        choiceBox.getItems().setAll(tempResult);
    
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();
      }
    
      public static void main(String[] args) {
        launch(args);
      }
    
    }
    

    choiceBox.css:

    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
     -fx-background-color: yellow ;
    }
    #choice-box-menu-item .label {
     -fx-text-fill: black ;
    }
    

    Post edited by: James_D

  • Martyn King: Martyn King: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box. Martyn King: it is on an element in the form of CAPTCHA.

    Martyn King: King of Martyn: I don't see how to change the opacity on MUSE CC it is grayed out when I select my form box.

    Martyn King: On an element in the form of CAPTCHA.

    Unfortunately, we can not change the opacity of the captcha has filed the fill option, are looking for a way to set the background and text color even? or you want to set the opacity so that object behind the rating should be visible?

    Thank you

    Sanjit

Maybe you are looking for

  • Firefox Download Manager reacts unexpectedly.

    I can't download the files correctly using the default Firefox Download Manager. The affected extensions are: 1. Download Status 2. Download Statusbar 3. DownThemAll (although since this doesn't interfere with the default, I don't see what this might

  • Tecra S1: USB Ports do not work correctly

    That one of my USB ports work correctly - that next to the DVD player. The two rear appear to be defective. Sometimes, they will work, but usually isn't. I have a Microsoft Notebook Optical Mouse and when I plug it into one of the ports back, it ligh

  • Satellite A100-232 battery does not work

    Hello! My problem is: I tried to turn on my computer using only the battery as a power source - result: dead I have a computer connected to the main power supply (battery installed) - result: computer is turn on, charging battery led shines, no batte

  • HP G6: Windows 8.1 to new disk image recovery

    I bought a new drive bigger and harder for my G6. I made an image of my old drive windows and I have a 8.1 windows installation disc.  I think that it is equal to a repair disc. It is in any other operating system. If I set the bios to the legacy tha

  • Unable to connect to the internet from the second computer to the home network.

    One of my computers on home network has stopped working after a storm in which several circuits in the House have been triggered. The computer seems to work very well, and other computers on the network can access the internet by using IE 8. I replac