how to add custom select field in magento admin near Reset Filter button -
is possible add custom select field in magento admin near reset filter button? want place select field near reset filter button processing back-end process filters custom select box. great!
really old question still... maybe useful someone
in grid.php override public function getmainbuttonshtml() mage_adminhtml_block_widget_grid
i have use add custom button next admin grid filter buttons, can insert html / block output
public function getmainbuttonshtml() { $html = parent::getmainbuttonshtml(); $add_artwork_button = $this->getlayout()->createblock('adminhtml/widget_button') ->setdata(array( 'label' => mage::helper('adminhtml')->__('add artwork contract'), 'onclick' => 'javascript:openartworks();', 'class' => 'save' )); $html .= $add_artwork_button->tohtml(); return $html; }
Comments
Post a Comment