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
    Commented Feb 25, 2019 at 18:24

Your Answer

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

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