I want to change the gridview product values โโusing massaction. here i created a column like this.
$this->addColumn('fineness', array( 'header'=> Mage::helper('catalog')->__('% Increase'), 'width' => '80px', 'index' => 'fineness', 'type' => 'input', 'editable' => 'TRUE', ));
It works fine, but how can I post this value to massaction? here i wrote an action like this
$this->getMassactionBlock()->addItem('update', array( 'label'=> Mage::helper('catalog')->__('Bulk Update'), 'url' => $this->getUrl('*/*/massUpdate'), 'confirm' => Mage::helper('catalog')->__('Are you sure?'), ));
since i can get the column values โโin massaction.in the action i wrote but not working
public function massUpdateAction() { $productIds = $this->getRequest()->getParam('product'); $increase_fineness = $this->getRequest()->getParam('increase_fineness'); $fineness = $this->getRequest()->getParam('fineness'); print_r($fineness);die; }
source share