Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternating Row Color
Message
 
 
To
06/03/2009 18:51:37
General information
Forum:
Internet
Category:
Stylesheet
Miscellaneous
Thread ID:
01386202
Message ID:
01386681
Views:
47
Michel,

>Ok, so as is it wouldn't right? By that, I mean, in order for that to work, does it require an XSL file?

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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform