Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternating Row Color
Message
From
09/03/2009 13:02:30
 
General information
Forum:
Internet
Category:
Stylesheet
Miscellaneous
Thread ID:
01386202
Message ID:
01386687
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform