Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links
// Tr.java

The Tr tag is used to alternate the background colors of table rows that are printed insides a LoopSet tag. If the bgcolor attribute contains two color definitions (separated by a comma) these will become the alternating colors. If not specified, the default colors are white and yellow.

Here is an example:

<table border="1">
   <dxp:LoopSet recordset="dbSet">
      <dxp:Tr bgcolor="#FFFFFF,#CCFFCC">
      <td><dxp:RowNum /></td>
      <td><dxp:Index value="0"/></td>
      <td><dxp:Index value="1"/></td>
      <td><dxp:Index value="2"/></td>
      </dxp:Tr>
   </dxp:LoopSet>
</table>
 
  
@author Mark Ashworth
@version 0.2, 2001-07-05

Return to Index

Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com.