Skip to main content

Form

Form allows you to customize the appearance of the row by manually positioning the fields, and adding other visual elements, such as pictures or panels. A form can be used either as a stand-alone viewer, or as a row template of the Tile Viewer.

Developers: To add the viewer from the console, use: grok.shell.tv.addViewer('Form');

Editable forms

To edit values via the form, click on the 'edit' icon on top.

Built-in form designer

To reposition the fields, click on the 'presentation' icon, and then drag-and-drop fields to the new locations. To change visual properties of an element, click on it while in the designer mode; properties will appear in the Context Panel on the right.

Field color-coding and format are picked up from the corresponding grid, if possible.

The following keyboard shortcuts work only when the form is in both read-only and presentation modes:

<, left or upPrevious row
> , right or downNext row
SpaceToggle selected state

Form

Videos

Form

Properties

PropertyTypeDescription
General
Sync ModestringDetermines what gets shown on the form.
Show Navigationboolean
Show Prev Row Arrowboolean
Show Next Row Arrowboolean
Show Row Selectorboolean
Show Field Editorboolean
Show Design Editorboolean
Show Column Selectorboolean
Show Save Fileboolean
Show Open Fileboolean
Sketch Statemap
Allow Dynamic Menusboolean
Show Context MenubooleanProperties common for all viewers todo: use code generation
Titlestring
DescriptionstringViewer description that gets shown at the Descriptor Position. Markup is supported.
HelpstringHelp to be shown when user clicks on the ''?'' icon on top. Could either be in markdown, or a URL (starting with ''/'' or ''http'').
Description Positionflexposition
Description Visibility Modevisibilitymode
Description
Show Titleboolean
Data
Tablestring

See also: