Beispiel #1
0
 /**
  * Create button element
  * @param mixed row
  * @return \Nette\Web\Html
  */
 protected function createButton($row = null)
 {
     $el = parent::createButton($row);
     $el->class[] = "gridito-window-button";
     $el->data("gridito-window-title", $this->getLabel());
     return $el;
 }
Beispiel #2
0
 /**
  * Create button element
  * @param mixed $row
  * @return \Nette\Utils\Html
  */
 public function createButton($row = null)
 {
     $el = parent::createButton($row);
     $el->class[] = 'gridito-window-button';
     $el->data('gridito-window-title', $this->getLabel());
     $el->data('gridito-window-width', $this->windowWidth);
     $el->data('gridito-window-height', $this->windowHeight);
     $el->data('gridito-window-modal', $this->windowModal);
     $el->data('gridito-window-draggable', $this->windowDraggable);
     $el->data('gridito-window-resizable', $this->windowResizable);
     return $el;
 }