Pattern
From JRapid
pattern is an attribute of property.
Contents |
Description
Pattern is used to format numbers when shown in property fields on forms and columns on listings.
Usage
<property name = NAME label = LABEL entity = ENTITY type = "integer" | "double" | "float" | "long" pattern = PATTERN ... />
Example
<entity label="Product" menu="Menu" name="Product">
<property display="primary" label=" Name" name="name"/>
<property label="Price" name="price" type="double" pattern="0.00"/>
</entity>
