Create a list box

Create a list box that displays data from the DataStore.

  1. Create a list box:
    1. In Project view, right-click MainWindow (type) and select New > Data controls > List box.
    2. Hover-over the list box, select Edit, and enter RandomDataListBox.
  2. Configure the list box:

    For more information about dynamic links, see Create dynamic links.

    1. In Properties, create a dynamic link between Model and ProjectName > DataStores > RandomStringsDataStore.
    2. Create a complex dynamic link between Query and Text of DataFilterTextBox by using a string formatter.
      Format
      SELECT Column1 FROM Table1 WHERE Column1 LIKE '%{0}%'
      {0} DynamicLink
      ProjectName > UI > MainWindow (type) > DataFilterTextBox > Text

      For more information about dynamic links, see Create dynamic links.

    3. Create a dynamic link between Display value path and {Aliases} > {Item} > PointedNode > Column1.
      Tip: You may need to enter Column1 manually.

      For more information about dynamic links, see Create dynamic links.

    4. Create a dynamic link between Order by and {Aliases} > {Item} > PointedNode > Column1.
      Tip: You may need to enter Column1 manually.

      For more information about dynamic links, see Create dynamic links.