Guest User

Untitled

a guest
Mar 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. $this->addColumn('action',
  2. array(
  3. 'header' => Mage::helper('catalog')->__('Action'),
  4. 'width' => '50px',
  5. 'type' => 'action',
  6. 'getter' => 'getId',
  7. 'actions' => array(
  8. array(
  9. 'caption' => Mage::helper('catalog')->__('Edit'),
  10. 'url' => array(
  11. 'base'=>'*/*/edit',
  12. 'params'=>array('store'=>$this->getRequest()->getParam('store'))
  13. ),
  14. 'field' => 'id'
  15. )
  16. ),
  17. 'filter' => false,
  18. 'sortable' => false,
  19. 'index' => 'stores',
  20. ));
  21.  
  22. 'actions' => array(
  23. array(
  24. 'caption' => Mage::helper('catalog')->__('Edit'),
  25. 'url' => array(
  26. 'base'=>'*/*/edit',
  27. 'params'=>array('store'=>$this->getRequest()->getParam('store'))
  28. ),
  29. 'field' => 'id', // dont forget the comma here
  30. 'target' => '_blank'
  31. )
  32. ),
Add Comment
Please, Sign In to add comment