Home > Platform > SolutionBuilder Guide > Layout Designer > Control Library > Objects Grid Control

Objects Grid Control

26 Dec 2017Last updated
0votes
15updates
42views

Objects Grid Control Defined

An Objects Grid is a control that allows users to select objects in a grid. 


How to Set up Objects Grid Control 


An Objects Grid control, just like any other control in Solution Builder, has its own Control Descriptor (located under Administration > User Interface > Control Descriptors), which defines how the control is set up, what fields the control has, and how it behaves. Users with Admin rights can modify the Control Descriptor, if needed, to suit their specific business needs. 


You also need to set up the Objects Grid control in Layout Designer.

  • Locate an existing Objects Grid on the canvas in Layout Designer or add a new one from the Toolbox.
  • Click the control on the canvas to open up its properties in the right-hand panel.
    Properties that the Objects Grid has in Layout Designer are defined in the Object Picker Control Descriptor (see PROPERTIES tab and the Inherit Controls field under the GENERAL tab). 

Objects Picker Specific Properties


Model
Object Ids: specify where to store IDs of objects that belong to the selected Entity Class (refer to the Entity Class Name field described below). 
Selected Items: specify where to save object(s) selected in the Objects Grid in run time. 
Entity Class Name: select an entity class for the Objects Grid; only entities that belong to the selected class (e.g. Applications) will be displayed in the Objects Grid control in run time. 
Allowed Types: select allowed type(s) for the entity class selected in the above Entity Class Name field; only entities that belong to the allowed types will be displayed in the Objects Grid control in run time.
Filter: specify an ASQL filter expression to filter objects in the Objects Grid in run time, if needed. Only objects that satisfy the specified filtering criteria will be available for selection in the Objects Grid. You can set a static value or bind the control with a data model property (from the Model tab).
Column definition: specify a data query to define which columns will be displayed in the Objects Grid control in run time.
Current Item: specify where to save the object that is currently clicked in the Objects Grid in run time. 


Common
Label: select a Label to appear in the Header of the Objects Grid control in run time. 
Show Label: select the checkbox to display the above specified Label in the Header of the Objects Grid control in run time. 
Multi Selection: you can set a static True or False value to allow or forbid mutli selection in the Objects Grid control or bind the control with a data model property (from the Model tab).

 

Appearance
Disable Delete: select ‘True’ to disable the ‘Remove’ button in the grid. You can not only set a static True or False value here but also bind the control with a data model property (from the Model tab); in this case, the value of the field (True or False) will change dynamically depending on the value/option of the bound field the user selects in run time. 
Full Height: select the checkbox for the grid to use all the available space. 
Hide Grid Header: select the checkbox to hide the Header of the grid, with all the buttons, etc. 
Disable Add: select ‘True’ to disable the Add button in the grid. You can not only set a static True or False value here but also bind the control with a data model property (from the Model tab); in this case, the value of the field (True or False) will change dynamically depending on the value/option of the bound field the user selects in run time. 


How to Use Objects Grid in Run Time

Select checkboxes next to the entities in the grid.

  • You can sort the grid by any of the grid columns (A-Z or Z-A).
  • You can add a new object to the grid via the Add button, if available in the Header.
  • You can remove objects from the grid by selecting them and clicking the Delete button in the Header of the grid (provided the Delete button is enabled in the Layout Designer). 
     
You must to post a comment.
Last modified

Tags

This page has no custom tags.

Classifications

(not set)
Customer
(not set)
icons-access-c.png