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.
- Records: Only the first 50 records will be provided. Scrolling to the end will load the next 50 records.
- Filtering: Using * as a wildcard. With F9 you can clear all filters within the grid.
- 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.
- 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.
- Assign a unique object name in the config tab on the right side and save.
- 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
Back to Documentation
Back to Home Page