Grid

A grid control defines both a grid that will be displayed in the mobile app and the columns in the grid.

See Grids.

A grid can have these attributes, in addition to the common control attributes:

Attribute Description
AddAccessItem List of permissions in Access Control that must be granted to add records to the grid. Specify one or more access IDs in a comma-separated list.
AddRule Rule to execute when the user adds a new grid record.
AddViewId ID of the view used to add new records to the grid.
Bulk Update Rule Rule or logic to fire when bulk updating grid records.
CanAdd Indicates whether users can add records to the grid.
CanEdit Indicates whether users can edit records in the grid.
FooterViewId ID of the view used for the grid footer.
HasHeader Indicates whether the grid has a header.
HeaderViewId ID of the view used for the grid header.
ItemViewId ID of the view to use for individual items in the grid.
OnItemSelected Rule to execute when the user selects an item in the grid.
SelectionControlId ID of the control used to select grid items.
UpdateViewId ID of the view used to update records in the grid.

Each grid has a child GridColumns node that defines the columns in the grid. The columns are themselves controls, and are children of the GridColumns node.