Drag and drop the Data Grid Field element into the Mobile Editor, to open up the Data Grid form.
Click the topics to expand
Display Tab

Label
|
Title of the Text Field
|
Label Position
|
Decide where the label is positioned in the Text field
|
Description
|
Description of the Text Field
|
Tooltip
|
Adds a Tooltip to this field
|
Custom CSS Class
|
Add a custom CSS class
|
Tab Index
|
Sets the tabindex attribute of this component to override the tab order of the form. See the MDN documentation on tabindex for more information.
|
Open First Row when Empty
|
Check this if you would like to open up the first row when the EditGrid is empty
|
Disable Adding / Removing Rows
|
Check if you want to hide Add Another button and Remove Row button
|
Check-Box Options
|
Hidden : Add hidden components within the Text Field
Hide label: Hides the label of the Text Field Element
Initial Focus : Make this field the initially focused element on this Interactive Message form.
Disabled : Disable this Text field
Table View : Shows this value within the table view of the submissions.
Modal Edit : Opens up a modal to edit the value of this component.
|
|
Templates

Header Template
|
This is the Lodash Template used to render the header of the Edit grid.
Two available variables. "value" is the array of row data and "components" is the array of components in the grid.
|
Row Template
|
This is the Lodash Template used to render each row of the Edit grid.
Three available variables. "row" is an object of one row's data, "components" is the array of components in the grid and "state" is current row's state (can be "draft" or "saved"). To add click events, add the classes "editRow" and "removeRow" to elements.
|
Footer Template
|
This is the Lodash Template used to render the footer of the Edit grid.
Two available variables. "value" is the array of row data and "components" is the array of components in the grid.
|
Row CSS Class
|
CSS class to add to the edit row wrapper.
|
Add Another Text
|
Set the text of the Add Another button.
|
Display as Modal
|
Display a modal to add or edit entries in the table
|
Save Row Text
|
Set the text of the Save Row button.
|
Remove Row Text
|
Set the text of the remove Row button.
|
|
Data Tab

Configure the date and its properties.
Persistent
|
A persistent field will be stored in database when the form is submitted.
|
Inline Editing
|
Check this if you would like your changes within "edit" mode to be committed directly to the submission object as that row is being changed
|
Protected
|
A protected field will not be returned when queried via API.
|
Database Index
|
Set this field as an index within the database. Increases performance for submission queries.
|
Encrypted (Enterprise Only)
|
Encrypt this field on the server. This is two way encryption which is not suitable for passwords. Only valid for Enterprise GSMS Users.
|
Redraw On
|
Redraw this component if another component changes. This is useful if interpolating parts of the component like the label.
|
Clear Value When Hidden
|
When a field is hidden, clear the value.
|
Custom Default Value and Calculated Value
|
A set of variables available in all scripts.
|
Calculate Value On Server
|
Checking this will run a calculation on the server. This is useful when there is a need to override the values submitted with the calculations performed on the server.
|
|
Validation

Validate the data within the Data Grid Field
Validate On
|
Determines when this component should trigger front-end validation.
|
Required
|
A required field must be filled in before the form can be submitted.
|
Unique
|
Makes sure the data submitted for this field is unique, and has not been submitted before.
|
Enable Row Drafts
|
Allow save rows even if their data is invalid. Errors will occur when try to submit with invalid rows.
|
Minimum Length
|
The minimum length requirement this field must meet.
|
Maximum Length
|
The maximum length requirement this field must meet.
|
Error Label
|
The label for this field when an error occurs.
|
Customer Error Message
|
Error message displayed if any error occurred.
|
Custom validation and JSONLogic Validation
|
The following variables are available in all scripts.
|
|
API

Elements to be included for the API part of the message.
Property Name
|
The name of this field in the API endpoint.
|
Field Tags
|
Tag the field for use in custom logic.
|
Custom properties
|
Users configure any custom properties for this component. Use Add Another button to add more than one key.
|
|
Conditional

Simple
|
This component should display
|
Choose True or False
|
When the form component
|
Choose Submit
|
Has the value
|
Add a valid Value
|
Advanced Conditions
|
The following variables are available in all scripts.
|
Logic
Add certain logical information to the Message.
Start by choosing the Add Logic button.
Enter a Logic name, and choose a type namely :
Simple
|
|
Javascript
|
|
JSON Logic
|
|
Event
|
|
Next, add an Action.

Enter an Action Name and choose a Type.
Property
Choose a a property type
|
|
Value
Choose type Value to use an appropriate Java Script
|
|
Merge Component Schema
|
|
|
Layout

This section provides a map of HTML attributes for a component's input element.
Note: Attributes provided by other component settings or other attributes generated by form.io take precedence over attributes in this grid.
Click on Add Attributes to add an Attribute Name and Attribute Value.

PDF Overlay, is exclusively for PDF Forms only.

Style: Custom styles applied to this component when rendered in PDF.
Page: The PDF page to place this component.
Left: The left margin within a page to place this component.
Top: The top margin within a page to place this component.
Width: The width of the component (in pixels).
Height: The height of the component (in pixels).
|