Repetitive containers handle data in "detail" format. Multiple items can be grouped and added or deleted.
Figure 1 shows an example of a screen that prepares a repeating container "Breakdown".
Repeat containers can be added in groups (rows).When you click "Add" button, it will be added under the current line.(FIGS. 1 and 2)
You can insert a line by pressing the "insert" button.(FIGS. 3 and 4)
You can delete a line by pressing "Delete" button.(FIG. 5, FIG. 6)
First of all, we prepare repetitive container type items.It becomes "breakdown" in Fig.
Subsequently, items included in the repeating containerContinuouslyDefine it.The item ID is as follows.
"Item ID of container" + "/" + "own item ID"
Incidentally, for repeated container type itemsDirectly belowBe sure to prepare "repeating container ID".In Figure 7, "No" is equivalent to this.
If there are many columns, depending on your browser, up to 4 columns may be displayed and the 5th and subsequent column displays may be collapsed. Adjust the appearance by specifying the width of each column.
This method is "layout>Repetitive Container - Adjust Column WidthPlease read.
The "repeating container ID" item is absolutely necessary.Also, this item can not be hidden.The "Add" and "Delete" buttons are displayed on the registration/update screen.
You can hide Container ID values "1", "2", ....Detail is"Hide the container IDPlease read.
"Repeat container ID" must be saved in the database.If you do not save the database, it will not work properly.
Repeat containers are divided into separate tables.(It will be 1: N relationship.Therefore there is no upper limit on the number of data that can be registered.
The name of the generated table is "model name $ (repeating container) item name".