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? 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.