1

Is it possible to disable filterable/sortable for an existing grid column via observer or layout update?

1 Answer 1

1

You can achieve using _prepareColumns() method,

$this->addColumn('Your column', array(
  'header'    => Mage::helper('module')->__('Object'),
  'index'     => 'item',
  'filter'    => false,
  'sortable'  => false
));
1
  • Via abserver or layout update for an existing column?
    – sv3n
    Feb 25, 2019 at 18:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.