public function init()
    {
        foreach ($this->renderers as $renderer) {
            $renderer->init();
        }

        if ($this->id === null) {
            $this->id = $this->getUniqueId();
            $this->has_auto_id = true;
        }

        // add the input cell to this column's view's input row
        if ($this->input_cell !== null) {
            $input_row = $this->parent->getFirstRowByClass(
                'SwatTableViewInputRow'
            );
            if ($input_row === null) {
                throw new SwatException(
                    'Table-view does not have an input row.'
                );
            }

            $input_row->addInputCell($this->input_cell, $this->id);
        }
    }