Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
overridefalse


     
Doctypepropertyhide
Nameprojectdoc-alternating 
Short DescriptionUse the CSS class projectdoc-alternating for a HTML table to get alternating colored table rows.
Doctypepropertyhide
Nameprojectdoc-alternating 
Parent
Parent Property
property-nameName
 

Audience
Name List
doctyperole
propertyAudience
hide
Tags 

Identifier projectdoc-alternating
Component
Name List
doctypecomponent
namesHTML Table
propertyComponent
 

Mandatory
Type
Default Value
Value Range
Implementation 
Iteration

Iteration
value

facade

production

hide
Sort Keyhide



Section
titleDescription

Tables generated by the projectdoc Toolbox set this selector to allow different styles on odd and even rows.

Code Block
languagecss
titleCSS Styles
table.projectdoc-alternating tr:nth-child(odd) {
	background: #FFF;
}

table.projectdoc-alternating tr:nth-child(even) {
	background: WhiteSmoke;
}



projectdoc-section
titleExample of Usage

The Display Table Macro can be configured to use this style.

Image Added

Set the Render Mode to table=projectdoc-alternating.

In case you need to use an alternate style, just type the name of your selector like this: table=my-table-style


Section
titleSubproperties
Display Table
doctypeproperty
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...