Example #1
0
 protected function _prepareColumns()
 {
     parent::_prepareColumns();
     $this->removeColumn('vendor_id');
     $this->getColumn('action')->setActions(array(array('caption' => Mage::helper('csmarketplace')->__('View'), 'url' => array('base' => '*/adminhtml_vpayments/details'), 'onClick' => "javascript:openMyPopup(this.href); return false;", 'field' => 'id')));
     return $this;
 }
Example #2
0
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     $grid = $this->getLayout()->createBlock('csmarketplace/adminhtml_vendor_entity_edit_tab_vpayments_grid', 'vpayments.grid');
     $this->setChild('vpayments.grid', $grid);
     return $this;
 }