stripeClasses

Since: DataTables 1.10

Set the zebra stripe class names for the rows in the table.

Description

An array of CSS classes that should be applied to displayed rows, in sequence. This array may be of any length, and DataTables will apply each class sequentially, looping when required.

Note that by default this option will take the values determined by the $.fn.dataTable.ext.classes.stripe* options (these are odd and even by default).

Type

This option can be given in the following type(s):

Example

Use three stripe classes:

$('#example').dataTable( {
  "stripeClasses": [ 'strip1', 'strip2', 'strip3' ]
} );