Dynamic Dropdown

  • MOpheij
        vor 5 Jahren #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
          vor 5 Jahren #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
            vor 5 Jahren #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
              vor 5 Jahren #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
                  vor 5 Jahren #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
                      vor 5 Jahren #14343
                      Up
                      0
                      Down
                      ::

                      Martin
                          vor 5 Jahren #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

                        Ansicht von 7 Beiträgen – 1 bis 7 (von insgesamt 7)

                        You must be logged in to reply to this topic.