Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Enhanced Grid Form Element extends the default functionalities of a typical grid element. Unlike the generic grid element that only accepts standard text field as for its inputs, this the Enhanced Grid Form Element captures data by making reference to another form element. Hence, one can take full advantage of what a typical form element has to offer, e.g., validation , and formatting.
Figure 1: Properties of Enhanced Grid Form Element
Apart from setting up the columns, an external form can also be set to capture more data that than what the grid actually shows. One can also defines define the format on the returned data.
Available Format TypeTypes
Wiki Markup |
---|
*Date* \- Formatsformats as date. Original Date and New Date formatformats are expected in the "*Format*" field. *Format*: \[input format\]\|\[output format\] +Example of usage:+ *Original value*: 5/23/2012 *Expected value*: 2012/5/23 *Format*: M/d/y\|y/M/d Note: Please refer to [Java SimpleDateFormat|http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html] for Datedate format. |
Enhanced Grid Form Element in a formForm
Adding a new row would bring up the external form and upon submission, the data will be stored accordingly in the background and in the columns, with matching IDs.
Figure 2: Sample working example Working Example of the Enhanced Grid Form Element
Figure 3: Adding new entry New Entry in the sample working example Working Example of the Enhanced Grid Form Element
...