Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternating Row Color
Message
De
09/03/2009 13:02:30
 
 
Information générale
Forum:
Internet
Catégorie:
Stylesheet
Divers
Thread ID:
01386202
Message ID:
01386687
Vues:
35
>Well, no it doesn't require the table rendering to be done by XSL. It can be done by whatever code you have that turning a resultset into an HTML table. In my particular case it's XSL code that's converting an XML document into HTML. The code could have been VBScript on an ASP page, or C# or VFP. All the code does is doing is assigning a different class to the alternating rows. Using a numeric classname like that allows a mod() function to easily convert a row number into an band color. It also makes it easy to support as many alternating band colors as you want.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform