Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    TreeGrid

    TreeGrid

    • Description
    • UI Samples
    • How to use it
    • Basic
    • Building the basic structure of the TreeGrid in a screen
    • Functionality of adding new children to TreeGrid
    • Designing frames for each node type
    • Backend logic for the TreeGrid
    • Creating new root nodes (root-structs)
    • Extended
    • Override the existing TreeGridEvents
    • Creating a TreeNode directly
    • Add more columns to your Tree View
    • Subscribe to the events of TreeGrid in backend
    • Using the functionality of the StructHelper
    • Attributes

    Description

    This section describes the use of the object SimpleSwatTreeGrid, a possibility to show and work on nested (recursive) data structures.

    Some theoretical introduction: The TreeGrid is a complex object type, which combines the nested structure of a tree and the display of multiple columns per entry, which is provided by a grid. To enable such Tree-Structures (which means parent-child-relations), B1 provides a generic datamodel, named Struct-Tables, which hold the relation information (by using the selfHdl). The needed logic (which data should be displayed, which types can have relations) can be achieved by configurations and some mapping in OE Code.

    ‣

    UI Samples

    How to use it

    Afterwards you’ll find the different topics and possibilities you’ll have to individualise your TreeGrid

    Basic

    ‣

    Building the basic structure of the TreeGrid in a screen

    ‣

    Functionality of adding new children to TreeGrid

    ‣

    Designing frames for each node type

    ‣

    Backend logic for the TreeGrid

    ‣

    Creating new root nodes (root-structs)

    Extended

    ‣

    Override the existing TreeGridEvents

    ‣

    Creating a TreeNode directly

    ‣

    Add more columns to your Tree View

    ‣

    Subscribe to the events of TreeGrid in backend

    ‣

    Using the functionality of the StructHelper

    Attributes

    attribute
    description
    Example/Values
    SUBTYPE
    Defines, how the TreeGrid will be rendered
    - SKIP_LISTBAR: will render only the treegrid and posframe - TREE-ONLY: will only render the treegrid itself (no listbar, no posframe)

    Back to DocumentationDocumentation

    Back to Home Page

    Logo