Example #1
0
 public function getBodyAttributes($data)
 {
     $attributes = array('colspan' => $data, 'class' => 'subgrid-button');
     if ($this->option[self::TWO_ROWS]) {
         $attributes['rowspan'] = 2;
     }
     return parent::mergeAttributes($data, $attributes);
 }
Example #2
0
 public function getBodyAttributes($data)
 {
     return parent::mergeAttributes($data, array('colspan' => $data));
 }
Example #3
0
 public function getBodyAttributes($data)
 {
     return parent::mergeAttributes($data, array('class' => 'with-checkbox'));
 }
Example #4
0
 public function getBodyAttributes($data)
 {
     return parent::mergeAttributes($data, array('class' => 'button-component'));
 }