To embed an instance of the List Viewer in HTML, you use the object
tag with the type
set to application/avantgo-mime-list
. In the Master page of the Master-Detail Page example, the following markup embeds the List Viewer and sets values for parameters that control
the layout and formatting of the table of data it will display:
<object id="accountTable" type="application/avantgo-mime-list" width="220" height="240" style="vertical-align: baseline; padding-left: 3px; border-color: black; border-width: 1; background-color: white; color: black; font-size: 9px; font-family: verdana;"> <param name="numRows" value="10"></param> <param name="rowMargin" value="2"></param> <param name="colMargin" value="4"></param> <param name="headerBgColor" value="#66cc99"></param> <param name="headerBdColor" value="#000000"></param> <param name="cellBgColor" value="#f9f9f9"></param> <param name="cellBdColor" value="#cecece"></param> <param name="cellSelectBgColor" value="#cecece"></param> <param name="cellSelectBdColor" value="#f9f9f9"></param> <param name="scrollbarBdColor" value="#000000"></param> <param name="scrollbarBgColor" value="#666666"></param> <param name="scrollbarButtonColor" value="#66cc99"></param> <param name="scrollbarArrowColor" value="#000000"></param> <param name="scrollbarBubbleColor" value="#66cc99"></param> </object> |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |