Data Grids allow users to add multiple components on to a line item grid. Once placed, users can add multiple components inside the Data Grid. Additionally, any number of grids can be added within a form, which is especially useful when needing the ability to add or duplicate multiple fields sets.
By default, the grid is empty, but can have other form components placed inside.
- The example below illustrates three components placed inside the Data Gird. A new column is automatically added whenever another component is added to the data grid interface.
The example below shows the Data Grid in the rendered form. Rows can be dynamically added, and removed as highlighted below.
- Label: You can place the title or name in this component.
- Label Position: With this setting you can adjust the position of component name and label.
- Label Width: With this setting you can adjust the width of component name and label.
- Label Margin: With this setting you can adjust the margins of component name and label.
- Description: In description field you can enter text which will appear under the Input Field.
- Tooltip: Entering data here will create a tooltip icon on the field.
Disable Adding / Removing Rows: Hides the 'Add Another' and the 'Remove Row' buttons.
- Conditional Add Button: Gives a possibility to specify a condition when the 'Add Button' will be displayed.
- Allow Reorder: Allows reordering rows by dragging and dropping them.
- Add Another Text: Sets the text of the 'Add Another' button.
- Add Another Position: Allows you to specify a position for the 'Add Another' button with respect to the Data Grid. The button can be at the top of the Data Grid, at the bottom, or in both places at one.
- Equal Column Width: Makes the column sizes be equal in width.
- Enable Row Groups: Allows separating Data Grid rows into groups. You can add groups, specify their labels, select a number of rows that will be in certain groups and delete the groups. It's helpful if you want to set a specific number of rows in the Data Grid and separate them by groups (see an example below).
- Custom CSS Class: With this setting you can add a CSS class. Multiple classes can be added and they class names can be separated by only a space.
- Tab Index: The setting Tab Index indicates which element in a form can be focused and which can be unfocused. It works as a global attribute. It gives 3 different type of results depending on the integer. Negative Integer (-1) indicates that the elements are unfocused and they are unreachable by sequential navigation. Zero Integer (0) indicates that the elements are focused and they can be reached with a sequential navigation. Positive Integer (1) it works as the zero integer but in the positive integer you can set up an order depending on the number.
- Hidden: Enabling this setting will hide your field from viewing when the form is extracted.
- Hide Label: In this component you can hide the label or name. Sometimes you only need the component field and not the label, hide label is used for that purpose.
- Initial Focus: Enabling this setting can make the field initially focused. Please note that only one field or component can be the initial focus in a form.
- Disabled: Enabling this setting will disable the component from the form.
- Table View: When this setting is enabled the data on this component will only show up in submission list of the table view.
- Default Values: The default value (if given) will be the value in the text field unless user enter it manually. If you use default value you can no longer use place holder settings.
- Persistent: If you enable this setting, your data will not emerge in the properties.
- Protected: If you do not want to show the input value in properties when queried by API, you can enable this setting.
- Database Index: If you select this setting this will create an index within the database which will help to make the performance better when queries are submitted.
- Encrypted: Encrypt this field on the server. It is a two way encryption and it is not appropriate for passwords. This setting is only available on the ‘Enterprise’ project plan.
- Redraw On: With this option you can link or connect another component, you can redraw component if the other component is updated.
- Clear Value When Hidden: As the name suggest the value of this field will be cleared if the hidden option is selected.
- Calculate Value on server: As the name suggest, if you select this setting, it will run the calculations on your server.
- Allow Manual Override of Calculated Value: As the name suggest, if you select this setting, it will allow you to override the calculated values.
- Validate On: Selecting this setting will determine when to allow the front-end validation of the component. It provides two options to choose i.e., Change and Blur.
- Required: Enabling this setting will make this component a must and user can not submit the form without filling this component.
- Unique: Enabling this setting will help the user understand that this information is not provided before while submitting the form.
- Minimum Length: In this setting you can define the minimum limit required in this field.
- Maximum Length: In this setting you can define the maximum limit required in this field.
- Error Label: With this setting you can enter text which will be displayed when the field display an error message.
- Custom Error Message: In this setting you can enter the error message which will be displayed to the user if any error occurred while filling the form.
- Property Name: In this setting you can provide the name of the field in the API endpoint.
- Field Tags: In this setting you can enter the tags for the field that can be used in the custom logic.
- Custom Properties: In this setting you can enter any custom properties to configure this component.
- This component should Display: In this setting you can choose "True and False" if this component should display.
- When the form component: In this setting you can choose if you want the component to be displayed after the it is submitted.
- Has the value: In this setting you can choose the value of the component when it shall be hidden or displayed.
- HTML Attributes: In this setting you can enter HTML attributes map for components input.