Views Row Parity

Categories

Component ID

2853064

Component name

Views Row Parity

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

135

Component created

Component changed

Component body

This module provides a views field that returns the result row's parity ("odd" or "even"). This can be used with other modules in order to output parity specific things. For example, using the Views Conditional module, you can output a layout (or set of fields) specific to "odd" rows and a different one for "even" rows.

This is basically a clone version or the views_row_counter that is now returning the parity instead of counting the rows.