» Details |
---|
|
» Comment |
I don't know if I will need it, but since it's well documented and programmed, I give my +1. $row_class = $this->_options['oddRowAttribute']; $i % 2 ? 0 : $row_class = $this->_options['evenRowAttribute']; Yes, there is a way: $row_class = $i % 2 ? $this->_options['evenRowAttribute'] :$this->_options['oddRowAttribute']; |