Is the column Action
very important to being displayed in admin grids?
It is actually doing exactly the same thing as "click on selected row" a'm I right ?
So if I hide it will it affect anything ?
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
$this->addColumn('action',
array(
'header' => Mage::helper('sales')->__('Action'),
'width' => '50px',
'type' => 'action',
'getter' => 'getId',
'actions' => array(
array(
'caption' => Mage::helper('sales')->__('View'),
'url' => array('base'=>'*/sales_order/view'),
'field' => 'order_id',
'data-column' => 'action',
)
),
'filter' => false,
'sortable' => false,
'index' => 'stores',
'is_system' => true,
'column_css_class'=>'no-display',
'header_css_class'=>'no-display',
));
}
To make it invisible added two lines:
'column_css_class'=>'no-display',
'header_css_class'=>'no-display',
instead of removing or comment.