Data Select Element

Modified on Mon, 11 Apr 2022 at 03:57 PM

This article is outdated, you can access the most current version here: https://doc.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/elements/DataSelectElement.html#type-dataselect


Data Select

type = "dataSelect"

With this Element you can select values of a column of your Datasource.


Properties

Property
Type
Description
Example Value
id
string
The unique id assigned to the Element.
  "id": "select"
type
string
Type of your Element
  "type": "dataSelect"
config
object
Configuration of the Element

source: The atasource to load options from

labelColumn: The (optional) column to take the corresponding labels from.

column: The column to edit. The component will take the value in the first row of this column.

label: Override for the input label which defaults to 'Change <column name>'.
  "config": {
    "source": "names",
    "valueColumn": "Name",
    "labelColumn": "FullName",
    "column": "Name",
    "label": "The name is"
  }


Full Example:

    {
      "id": "select",
      "type": "dataSelect",
      "source": "frt_1",
      "config": {
        "source": "names",
        "valueColumn": "Name",
        "labelColumn": "FullName",
        "column": "Name",        "label": "The name is"
      }
    },

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article