Grid_Basic::renderRows PHP Method

renderRows() public method

Extends renderRows method of CompleteLister
public renderRows ( )
    public function renderRows()
    {
        // precache template chunks
        $this->precacheTemplate();
        // extend CompleteLister renderRows method
        parent::renderRows();
        // if we have at least one data row rendered, then remove not_found message
        if ($this->total_rows) {
            $this->template->del('not_found');
        } elseif ($this->no_records_message) {
            $this->template->del('header');
            $this->template->set('not_found_message', $this->no_records_message);
        }
    }