To embed an instance of the List Viewer in HTML, use the object
tag with the type
set to application/avantgo-mime-list
:
<object id=objName type="application/avantgo-mime-list" width=pixelsWide height=pixelsHigh style=inlineStyleSpec> |
Where:
objName
is the label you will use to refer to the list object.
pixelsWide
is the width of the list area in pixels.
pixelsHigh
is the height of the list area in pixels.
inlineStyleSpec
is an inline style specification to control the formatting of the list display.
The Master-Detail page example illustrates the use of the List Viewer.
For a list of parameters you can specify within the object
tag, see the table below. For reference material you will need to write JavaScript or C code to use the Date/Time Picker,
see M-Business Date/Time Picker API.
For a list of parameters you can specify within the object
tag, see the table below. After the object
tag for the List Viewer is specified, you can use the M-Business List Viewer API on the object.
Specific format specifications for the read-only text field are listed in Field format specifications.
Table 5. List Viewer object tag parameters
Specification |
Description |
---|---|
|
The background color for the selected cell. |
|
The background color for the selected cell. |
|
The border color for the cell. |
|
The border color for the selected cell. |
|
Horizontal placement of the contents for cells in column Possible values for alignment are:
|
|
Data source column name for column n. This attribute can also be set by calling |
|
Format specifications for column n. This attribute works for columns of integer and datetime types only. This attribute can
also be set by calling |
|
The margin between each column in the list. |
|
Title for column n. This attribute can also be set by calling |
|
Suggested width for column n. This attribute can also be set by calling |
|
Name of the M-Business XML datastore. |
|
The background color for the header. |
|
The border color for the header. |
|
Number of columns in the list. This attribute can also be set by calling |
|
Suggested number of rows in the list. |
|
Scroll list data in real time? |
|
The margin between each row in the list. |
|
The color for the scroll bar arrows. |
|
The color for the scroll bar bubble. |
|
The border color for the scroll bar. |
|
The background color for the scroll bar. |
|
The background color for the scroll bar up/down buttons. |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |