Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Grid / Table

    Grid / Table

    • Description
    • How to use it
    • Settings/Attributes
    • Use Cases

    Description

    The Grids or Tables are created in Build.One using the SwatGrid object. Objects of type "SwatGrid" display data in a tabular way with rows and columns. They can be used in other container objects (objects which includes other objects) like panels in a SwatWindow.

    image
    1. Records: Only the first 50 records will be provided. Scrolling to the end will load the next 50 records.
    2. Filtering: Using * as a wildcard. With F9 you can clear all filters within the grid.
    3. PanelMenu: default and individual functionalities.

    Every grid has some standard functionalities like filtering etc. Every user is able to change the width of the columns and to change the sequence of the columns. When you log-out via “Logout” in the profile menu or using the functionality “Save Profile” within the profile menu than the changes will be saved to the Grid for your user. So you don’t have to make these changes every time you work with the application.

    How to use it

    SwatGrids can be used within screens (e. g. SwatWindow or SwatFrame) to show and manipulate data or to search for it. Open a screen in the designer and consider the following steps.

    1. Within the screen designer just drag&drop the needed SwatGrid from the catalog into the preview panel. Please note to drop it to a position where the preview screen will be highlighted in green, not in red.
    2. Assign a unique object name in the config tab on the right side and save.
    3. Now you are able to link a SwatBusinessEntity to the SwatGrid in the tab flow designer on the left side. Please use the link type “Data”

    Settings/Attributes

    attribute
    description
    Example/Values
    ENABLED
    Edit the data directly in the rows (inline editing)
    true/false
    instanceRestrictions
    Define columns which should be shown
    PanelMenu
    List of all displayed buttons in the panel menu With gridPanelSave#NoDropDown a save and also delete button will be added to the panelMenu
    gridPanelLaunchMaintenanceScreen#NoDropDown, gridPanelSaveOnly#NoDropDown, gridPanelSave#NoDropDown
    updateRecordContainter
    Here you can specify the screen, which will be opened by clicking a link or the panelmenu
    BorderTitle
    CanFilter
    De-/Activate filtering per column
    CanSort
    De-/Activate sorting per column
    groupBy
    Specifies the grid groupBy options
    moduleguid|title,stat_count| ———————— 0|title|name+" :: found " +count+ " records
    hideHeader
    Hides the panel header (including the name and filter)
    true/false
    contextMenu
    Specify a menu code to be displayed as a contextual menu for each entry in the grid
    Menu code

    Use Cases

    Enable and disable change tracking
    Pre defined Panel Header Menus
    Change the alignment of column in forms and grids
    Create a floating action button for a grid
    Save grid order on user level
    Add new lines directly in the Grid
    Grouping columns: Setup groupBy
    Make Grid-Filter exportable
    Pro-Code: get selected record
    Add save button to panel menu
    Define columns to show in the grid
    Click on a entry in a grid to open a detail screen
    Use Mock-up Datasource
    Generate and Copy an object - grid/forms
    Implement Drag and Drop on Grids

    Back to DocumentationDocumentation

    Back to Home Page

    Logo