4 Replies Latest reply: Jan 11, 2016 4:45 AM by Jörg Simon RSS

    Setting up multiple buttons to create combined selections in a table

    Jörg Simon

      Hi there,

       

      How to configure two or more Buttons in a way that each of their corresponding selections values are added to the current selection of a table?

      Behaviour should be working like  a mouse in a Listbox holding down the STRG Key to select/unselect values.)

       

      Example:

      Field is called "Colours", containing values i.e. "RED, BLUE, GREEN, YELLOW, BLACK, ...."

       

      Want to combine many buttons such as:

      Buttons:  "Select RED"     "Unselect RED"    

      Buttons:  "Select BLUE"   "Unselect BLUE"

      Buttons: "Select GREEN"   "Unselect Green"

       

      Clicking on the "Select RED" button should select all REDs in my table "Colours".

      Expected result: REDs are listed (easy)

       

      Clicking on the "Select BLUE" button should select all BLUEs in addition to the existing selection. In this case containing all the already selected REDs as well.

      Expected Result: REDs AND BLUEs are listed

       

      Clicking on the "Select GREEN " button should select all BLUEs in addition to the existing selection. In this case containing all the already selected REDs and BLUEs as well.

      Expected Result: REDs AND BLUEs AND GREENs are listed.

       

      ...to be continued with many more buttons...

       

      Clicking on the "Unselect RED" button should unselect all REDs from the existing selection.

       

      Expected Result: BLUEs AND GREENs are listed.

       

      How to achieve that?

       

      Any help is much appreciated.

       

      Many thx in advance

       

      Josi