The Listfield presents the user with an unlimited number of rows that can be added to the field in your application, unlike the Gridfield which is a defined set of rows. Both still are limited in columns that need to be defined in app studio.
First, you will need to create a field in app studio that has Listfield selected as its field type, it will then show the screen below.
Then you can move onto defining your Listfield, you need to give it a title and identifier like all other fields. Always best to keep these short and relevant to they are easy to use in expressions in the future.
Exclude This Field From Templated Record Copies: Once ticked if the record is ever copied and templated copy is selected in the copy then this fields data will not be copied across.
Add Row Enabled: This keeps the ability to add a row when viewing in a record so the user doesn't add unnecessary rows. When unticked this can be used in audit related apps when they need to answer a defined number of questions and not add any more.
Delete Row Enabled: This keeps the ability to remove a row when viewing in a record so the user doesn't delete important data. When unticked this can be used in audit related apps when they need to answer all defined number of questions and can't remove any from view.
Configuration: This follows a similar convention to Gridfields except you can only define a column field. All column fields must contain an Identifier and have a field type selected. Its best to keep the titles short but informative to not take up to much space. Once you have selected the field type the view will change to show the appropriate options for the field which you can then fill out. You can set default values for each column but you cannot set expression values for them.
Expressions: To find related Listfield expressions please go to this article - https://support.softools.net/hc/en-gb/articles/360010662398-Listfield-Expression
- Default Sort Order (Ascending and Descending)
- Column Width Formatting
- Auto Expandable