protected function _initColumns()
 {
     $this->_columns->add(new Kwf_Grid_Column('title', trlKwf('Title'), 200));
     $this->_columns->add(new Kwf_Grid_Column('current_price', trlKwf('Current Price'), 100))->setRenderer('euroMoney');
     $this->_columns->add(new Kwf_Grid_Column_Visible());
     parent::_initColumns();
 }
 protected function _beforeInsert(Kwf_Model_Row_Interface $row, $submitRow)
 {
     parent::_beforeInsert($row, $submitRow);
     $row->component_id = $this->_getParam('componentId');
     $row->mails_per_minute = 'normal';
     $row->create_date = date('Y-m-d H:i:s');
 }
 protected function _initColumns()
 {
     $this->_columns->add(new Kwf_Grid_Column_Visible('visible'));
     $this->_columns->add(new Kwf_Grid_Column('title', trlKwf('Title'), 300));
     parent::_initColumns();
     $this->_columns->add(new Kwf_Grid_Column_Date('publish_date', trlKwf('Publish Date')));
 }
 protected function _initColumns()
 {
     $this->_columns->add(new Kwf_Grid_Column_Checkbox('visible', trlKwf('Visible'), 40))->setEditor(new Kwf_Form_Field_Checkbox());
     $this->_columns->add(new Kwf_Grid_Column_Date('create_time', trlKwf('Create Date')));
     $this->_columns->add(new Kwf_Grid_Column('content', trlKwf('Content'), 350));
     $this->_columns->add(new Kwf_Grid_Column('name', trlKwf('Name'), 130));
     $this->_columns->add(new Kwf_Grid_Column('email', trlKwf('E-Mail'), 150));
     parent::_initColumns();
 }