Skip to main content

BIN 8xYm5 Documentation

  • Author:

  • Version: 9

  • Description: A grid control using [grid.style] with dynamic {data.} values

  • Created: 2015-05-13

  • Modified: 2015-05-14

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='A grid control using [grid.style] with dynamic {data.} values'>
        <field name='Lines' type='Line' maxOccurs='n' extra:form.listview='grid' extra:lc.ordered='false'/>
        <field name='EditableLines' type='Line' maxOccurs='n' extra:form.listview='egrid' extra:lc.ordered='false'/>
    </complexType>
    <complexType name='Line'>
        <field name='Quantity' default='1000' type='xs:int' extra:grid.style='background-color:{data.color};color:{data.textColor}' />
        <field name='color' type='xs:string' extra:form.control='color' default='black'/>
        <field name='textColor' type='xs:string' extra:form.control='color' default='white'/>
    </complexType>