• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Dynamic Alterations

Alternating table row colors sure does make it easier on the eyes to locate data in large tables. After you’ve created your dynamic table, it just takes a tiny bit of hand-coding to create this common effect. Note that we have two custom classes, one named altRowColor and the other altRowColor2. Feel free to use your own class names in their place; just be sure you’ve defined the classes in your CSS.

In ColdFusion, it is super easy; just add a class attribute with the ColdFusion code shown here to the <tr> tag that is created dynamically:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint