Skip to main content

BIN yfawa Documentation

  • Author:

  • Version: 17

  • Description: Grid with totals, use grid.totals="true" and [grid.total] with [count, sum, avg], in order, for each column/field

  • Created: 2014-11-29

  • Modified: 2014-12-07

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Grid with totals, use grid.totals="true" and [grid.total] with [count, sum, avg], in order, for each column/field '>
        <field name='Employee' type='xs:string' />
        <field name='Date' type='xs:date' />
        <field name='Lines' type='Line' maxOccurs='n' minOccurs='1' extra:form.listview='grid' 
    extra:grid.totals='true' 
    extra:lc.index='false'  
    extra:lc.edit='true'  
    extra:lc.copy='true' 
    extra:lc.ordered='false' 
    extra:form.nolabel='true'/>
    </complexType>
    <complexType name='Line' >
        <field name='ID' type='xs:string' extra:grid.total='count'/>
        <field name='Quantity' type='xs:int' extra:grid.total='sum'/>
        <field name='Price' type='xs:decimal' extra:form.control='currency' extra:currency.code='JPY' extra:grid.total='avg'/>
    </complexType>