Configure a Data grid

Configure a
Data grid
object to get data from a project node or a database.
  1. In
    Project view
    , create or select a
    Data grid
    object.
  2. In
    Properties
    , create a dynamic link between the
    Model
    property and a node.
    Selected node
    Combo box
    Database object
    Values contained in database tables.
    Project node
    Values of attributes or properties of all direct child nodes.
    For more information about dynamic links, see Create dynamic links.
  3. (optional) Specify the kind of items to display in the object by setting
    ItemKind
    .
    TIP:
    The
    ItemKind
    property is automatically set with the object or variable type recognized among the child nodes.
    For example, if the model is based on a folder node that contains several instances of a
    Motor
    object type,
    ItemKind
    is automatically set with the reference to the type. In this case, the values that display are the attributes or properties of different instances (, , , and so on).
  4. Add columns to the grid by selecting
    Add
    Add
    next to
    Columns
    .
  5. Configure columns by setting the
    Text
    and
    Title
    property values.
  6. (optional) In
    Events
    , associate
    Selection changed
    with the
    Refresh
    method.
    The items contained in the object refresh each time you interact with it.
  7. (optional) Sort items by setting
    Sort order
    and
    Order by
    values.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.