Dynamic Dropdown

  • MOpheij
        5 years ago #12050

        Hello there,

        how can I build a Dropdown that gets its items from a Collection, I pulled from a Database?

        Best regards

        Chris Bouveret
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
            Has successfully completed the online course Advanced (320)
            Has successfully completed the Intermediate Certification
            Has successfully completed the Advanced Certification
          5 years ago #12380
          Up
          3
          Down
          ::

          Hi there,

          just use a comboBox widget with a listItem as child. Check the “itemsTemplate” property and bind a collection to the ComboBox (see Screenshot)

          Hope that helps

          Attachments:
          You must be logged in to view attached files.
          Chris Bouveret
              Has successfully completed the online course Introduction
              Has successfully completed the online course Intermediate (200)
              Has successfully completed the online course Advanced (300)
              Has successfully completed the online course Basics (100)
              Has successfully completed the online course Advanced (320)
              Has successfully completed the Intermediate Certification
              Has successfully completed the Advanced Certification
            5 years ago #12384
            Up
            1
            Down
            ::

            Addon: within Process Designer just use your desired connector and map it like so (see screenshot)

            Attachments:
            You must be logged in to view attached files.
            Chris Bouveret
                Has successfully completed the online course Introduction
                Has successfully completed the online course Intermediate (200)
                Has successfully completed the online course Advanced (300)
                Has successfully completed the online course Basics (100)
                Has successfully completed the online course Advanced (320)
                Has successfully completed the Intermediate Certification
                Has successfully completed the Advanced Certification
              5 years ago #14333
              Up
              1
              Down
              ::

              Just use a Combobox and populate it with as many listitems as you want (see Screenshot)

              Hope that helps

              Attachments:
              You must be logged in to view attached files.
              Martin
                  5 years ago #14331
                  Up
                  0
                  Down
                  ::

                  Hi,

                  is there a possibility to bind a collection with default values? means data is static and not coming from a connector.

                  many thanks in advance & best regards,
                  martin

                  Martin
                      5 years ago #14343
                      Up
                      0
                      Down
                      ::

                      Martin
                          5 years ago #14345
                          Up
                          0
                          Down
                          ::

                          thank you, working like a charm. (didnt recognize the ui_core_ListItem – tried the StandardListItem and that didnt work)
                          therefore UI support with a double reference would be helpful: which container-widget can hold which child-widgets and vice-versa…

                          (as i know Mr. Gärtner is informed ;))

                          br martin

                        Viewing 7 posts - 1 through 7 (of 7 total)

                        You must be logged in to reply to this topic.