0

we added a custom column that has integer value. How can we now add a FROM-tO filter like below?

Is there a special command for this?

enter image description here

$this->addColumn('created_at', array(
    'header' => Mage::helper('sales')->__('Purchased On'),
    'index' => 'created_at',
    'type' => 'datetime',
    'width' => '100px',
    'filter_index' => 'main_table.created_at'
));

1 Answer 1

0

This extension might be helpful, I thinks it is not compatible with the security patch that reworks the way that admin paths work.

https://github.com/ho-nl-fork/magento1-BL_CustomGrid

I'm not the creator of this extension.

3
  • Using it!! Is it under config of the field?
    – snh_nl
    Commented Nov 27, 2017 at 17:10
  • You should be able to choose what attribute columns you what to see on any Backend groß (products, orders, etc.). Just use the new button above the columns "edit grid" on the right hand side.
    – oh no
    Commented Nov 27, 2017 at 17:16
  • Yes that has been done. But no from to filter.
    – snh_nl
    Commented Nov 27, 2017 at 22:00

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.