Skip to main content

BIN CNVO0 Documentation

  • Author:

  • Version: 20

  • Description: Grid and Form number format: [percent | currency | simple | bytes | duration]

  • Created: 2015-02-01

  • Modified: 2016-12-27

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Grid and Form number format: [percent | currency | simple | bytes | duration]' extra:xform.ccontrol='print'>
    <implements type='Sub'/>
    <field name='a' type='Sub' extra:form.listview='grid' maxOccurs='n'/>
        
    </complexType>
    <complexType name='Sub' description='Text input - number format: [percent | currency | simple]'>
     <field name='DefaultFormat' type='xs:decimal' default='9999.987983'/>
     <field name='DefaultFormatPrecision2' type='xs:decimal' default='9999.987983'>
     <facet name='fractionDigits' value='2'/> 
     </field>
     <field name='PercentFormat' type='xs:decimal' default='0.23456' extra:nc.format='percent'/>
     <field name='CurrencyFormat' type='xs:decimal' default='9999.95' extra:nc.format='currency' extra:currency.code='USD'/>
     <field name='SimpleFormat' type='xs:decimal' default='9999.95' extra:nc.format='simple'/>
     
     <field name='DefaultFormatInteger' type='xs:int' default='9999'/>
     <field name='DefaultFormatIntegerNoHtml5' extra:html5='false' type='xs:int' default='9999'/>
     <field name='SimpleFormatInteger' extra:html5='false'  type='xs:int' default='9999' extra:nc.format='simple'/>
     <field name='BytesFormatInteger' extra:html5='false'  type='xs:int' default='9999' extra:nc.format='bytes'/>
     <field name='DurationFormatInteger' extra:html5='false'  type='xs:int' default='9999' extra:nc.format='duration'/>
    
     <field name='UTCFormat' type='xs:long' default='1482846025885' extra:nc.format='utc' extra:form.dateformat='short' extra:form.timeformat='long'/>
    </complexType>