Ejemplo n.º 1
0
 /**
  * Renders the datagrid by writing a div tag with the container id obtained from {@link getSurroundingTagId()}
  * which will be called by the replacement method of the client script to update it's content.
  * @param THtmlWriter writer for the rendering purpose
  */
 private function renderDataGrid($writer)
 {
     $writer->write('<div id="' . $this->getSurroundingTagId() . '">');
     parent::render($writer);
     $writer->write('</div>');
 }
Ejemplo n.º 2
0
 /**
  * Renders the datagrid by writing a {@link getSurroundingTag()} with the container id obtained
  * from {@link getSurroundingTagId()} which will be called by the replacement method of the client
  * script to update it's content.
  * @param THtmlWriter writer for the rendering purpose
  */
 private function renderDataGrid($writer)
 {
     $writer->addAttribute('id', $this->getSurroundingTagID());
     $writer->renderBeginTag($this->getSurroundingTag());
     parent::render($writer);
     $writer->renderEndTag();
 }