1 Reply Latest reply on Jan 9, 2015 8:52 AM by xbytor2

    When i click dropdown i need resul of what i click that dropdown

    sasientry Level 1

      Hi,

       

      I need one dropdown Script ui in that i have four list. Look like below

       

      One

      Two

      Three

      Four

       

      When i click two i want to see the result of two dropdown. Please see the reference below

        windowResource = "dialog {  \
      orientation: 'column', \
      alignChildren: ['fill', 'top'],  \
      size:[410, 150], \
      text: 'Job Assigner',  \
      margins:15, \
      \
      presetsPanel: Panel { \
         orientation: 'row', \
         alignChildren: 'center', \
         text: 'Presets', \
         margins: 14, \
           ddDropDown: DropDownList { properties: { \
             items: [ 'one', 'two', 'three', 'four' ] }, }, \
              ddDropDown: DropDownList { properties: { \
             items: ['two', 'three', 'four' ] }, }, \
      }, \
      buttonsGroup: Group{\
          alignChildren: 'bottom',\
           applyButton : Button { text: 'ok', properties:{name:'cancel'},size: [60,24], alignment:['left', 'center'] }, \

        cancelButton : Button { text: 'cancel', properties:{name:'cancel'}, size: [100,24], alignment:['left', 'center'] }, \

      }\

      }";

       

      win = new Window(windowResource);

         win.show();

       

       

      When i click firt dropdown list i need the result of one .

       

      when i click second dropdown i need the result of two

       

       

      I need to relation between two dropdowns. like a website dropdown.