If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

About the Visual Designer Sub-Type Control

Sub-Type Control Component
This component displays the standard grid for a sub-type entity. This is the same component that the form template generator uses to add a sub-type as a separate tab on a form. However, you can use this component to add a sub-type to a tab that has other fields on it (that is, you do not want the sub-type grid to appear on its own tab).

It supports the following input properties:

  • SubTypeName (required): This property specifies the name of the sub-type entity to link to this component.
  • AllowSort: This property controls the sorting behavior within a sub-type grid. When the property is set to 1 for a particular sub-type grid, a user can sort the sub-type records by clicking on the header of the column that will control the sort. When set to 0 (the default setting), sorting is not allowed within the grid.
  • AllowMove: This property controls the record move behavior within a sub-type grid. When the property is set to 1 for a particular sub-type grid (this is the default setting), a user can use the toolbar buttons or the right-click menu to move a selected record to the Top of the grid, Up one row, Down one row, or to the Bottom of the grid. Note that the Move commands are disabled when a user selects more than one record in the grid. When set to 0, a user cannot move a record to a new position within the grid (the Move buttons do not appear in the toolbar and the Move options do not appear in the right-click menu).
  • AllowFind Input: This property determines whether the Find option is available in a sub-type grid's toolbar. When the property is set to 1 for a particular sub-type grid (this is the default setting), the Find button is available in the sub-type toolbar. When set to 0, the Find button does not appear in the toolbar.
  • FieldList: By default, sub-type grids display fields with the Default In View attribute checked in their entity field definition.This property provides the ability to modify the default fields that appear in the sub-type grid by specifying a comma-delimited list of fields from the sub-type entity to display as grid columns (from left to right). Note that when specified, this property effectively overrides the Default In View setting for that sub-type entity's fields. In other words, if a field with the Default In View attribute enabled is not specified in this field list, it will not appear on the sub-type grid.

Copyright © 2014-2017 Aptify - Confidential and Proprietary