Maxrows (attribute of property)

From JRapid

(Redirected from Maxrows)
Jump to: navigation, search

The "maxrows" attribute sets the maximum amount of rows for a extendable collection type property.

Usage

 <property name = NAME label = LABEL maxrows = [0-9]+ collection = "set | list | sortedset" />

Example

  • A company can contain a maximum of 5 contacts.
<property childproperty="company" collection="set" comboproperty="name" embedded="inline" 
entity="Contact" extendable="extendable" label="Contact" labelposition="fieldset" 
maxrows="5" minrows="3" name="contacts"/>

File:Maxrowsex.JPG

See also

Personal tools