Table

Parse basic attributes and advanced attributes of Table, and present it as described in the XML files.

Table 1.
Function Function description Default value Sample in XML
background Set background color for Table OS <Table background="240,0,0"/>
foreground Set foreground color for Table OS <Table foreground="240,0,0"/>
font Set font for Table OS <Table font = " Arial, 10, BOLD|ITALIC"/>
bounds Set margin bounds(X, Y, Width, Height) for Table OS <Table bounds="15, 15, 466, 18"/>
enabled If it is true, the Table is enabled; if it is false, it is disabled. TRUE <Table enabled="TRUE"/>
visible If it is true, the Table is visible; if it is false, it is invisible. TRUE <Table visible="TRUE"/>
headerVisible If it is true, header of the Table is visible; if it is false, it is invisible. TRUE <Table headerVisible="TRUE"/>
linesVisible If it is true, lines of the Table are visible; if it is false, lines of the Table are invisible. TRUE <Table linesVisible="TRUE"/>
dataName Get data from data layer according to the dataName. NULL <Table dataName="dataname"/>
dataNameForList Get data list from data layer according to the dataName. no default <Table dataNameForList="dataname"/>
required If it is true, the table must be fill in, if not, its background will show yellow, and you can’t submit the page; if it is false, you can choose to fill in or not. FALSE <Table required="TRUE"/>
tabIndex Define tab focus sequence. INFINITE(Means focus last) <Table tabIndex="1"/>
helpID helpId is defined in myHelpContexts.xml, press shortcut key when the focus is on the table, it will pop up help message about the table. NULL <Table helpId="tableId"/>