Example #1
0
 /**
  * Action column constructor.
  * @param  string  column's textual caption
  * @return void
  */
 public function __construct($caption = 'Actions')
 {
     parent::__construct($caption);
     $this->addComponent(new ComponentContainer(), 'actions');
     $this->removeComponent($this->getComponent('filters'));
     $this->orderable = FALSE;
 }
Example #2
0
 /**
  * Checkbox column constructor.
  * @param  string  column's textual caption
  * @param  string  number of digits after the decimal point
  * @return void
  */
 public function __construct($caption = NULL, $precision = 2)
 {
     parent::__construct($caption);
     $this->precision = $precision;
 }