MultiForm - Grid
Form Field Definition
Example
<Grid label="Gridlabel" id="Gridname" height="90%" >
<GridColumn id="Columnname" label="Columnlabel" type="text" />
<GridColumn id="Columnname" label="Columnlabel" type="date" />
<GridColumn id="Columnname" label="Columnlabel" type="single" />
<RowEditPage>
<Input id="Fieldname" label="Fieldlabel" type="text" width="50%" />
<Br />
<Spacer width="60%" />
<Button id="_ButtonAccept" width="20%" action="this.parentObj.acceptRowEdit()" eval="'Accept'" />
<Button id="_ButtonCancel" width="20%" action="this.parentObj.cancelRowEdit()" eval="'Cancel'" />
</RowEditPage>
</Grid>
text | <GridColumn label="Columnlabel" id="Columnname" type="text" /> |
boolean | <GridColumn label="Columnlabel" id="Columnname" type="boolean" /> |
numeric | <GridColumn label="Columnlabel" id="Columnname" type="numeric" /> |
integer | <GridColumn label="Columnlabel" id="Columnname" type="integer" /> |
date | <GridColumn label="Columnlabel" id="Columnname" type="date" /> |
time | <GridColumn label="Columnlabel" id="Columnname" type="time" /> |
single | <GridColumn label="Columnlabel" id="Columnname" type="single" /> |
multi | <GridColumn label="Columnlabel" id="Columnname" type="multi" /> |
attribute | value | Description |
---|---|---|
width | {width in % or px} | column width |
align | left|center|right | alignment |
disabled | {ax/js condition} | > disabled option |
eval | {ax/js expression} | > eval option |
format | {formatstring} | > formatstring |
RowEditPage Form Definition
<RowEditPage>
<Input id="Fieldname" label="Fieldlabel" type="text" width="50%" />
<Br />
<Spacer width="60%" />
<Button id="_ButtonAccept" width="20%" action="this.parentObj.acceptRowEdit()" eval="'Accept'" />
<Button id="_ButtonCancel" width="20%" action="this.parentObj.cancelRowEdit()" eval="'Cancel'" />
</RowEditPage>
use any of the following field types:
attribute | Description |
---|---|
input | > input |
select | > select |
recordpicker | > recordpicker |
button | > button |
br | > br |
spc | > spc |