/** * Returns table html element of grid. * @return \Nette\Utils\Html */ public function getTablePrototype() { if ($this->tablePrototype === NULL) { $this->tablePrototype = \Nette\Utils\Html::el('table'); $this->tablePrototype->id($this->getName()); } return $this->tablePrototype; }
/** * Returns table html element of grid. * @return \Nette\Utils\Html */ public function getTablePrototype() { if ($this->tablePrototype === NULL) { $this->tablePrototype = \Nette\Utils\Html::el('table'); $this->tablePrototype->id($this->getName())->class[] = 'table table-striped table-hover'; } return $this->tablePrototype; }