public function display()
    {
        if (!$this->visible) {
            return;
        }

        parent::display();

        $table_tag = new SwatHtmlTag('table');
        $table_tag->id = $this->id;
        $table_tag->class = $this->getCSSClassString();

        $table_tag->open();
        $this->displayContent();
        $table_tag->close();

        Swat::displayInlineJavaScript($this->getInlineJavaScript());
    }