1

How to make admin panel grid filter on all the page. Tab always show active.

Like a shared screenshot.

enter image description here

2 Answers 2

0

Got the solution

Created admin theme and override the filters.html

/app/design/adminhtml/<Vendor>/<theme>/Magento_Ui/web/templates/grid/filters.html

removed $collapsible.opened() function from file. so the filter will always appear

css="_active: hasVisible() && $collapsible.opened()"

to

css="_active: hasVisible()"

0

in app/design/adminhtml///Magento_Ui/web/templates/grid/filters/filters.html

<div class="data-grid-filters-actions-wrap" collapsible="openClass: false, closeOnOuter: false, opened:true">
</div>
2
  • <div class="data-grid-filters-actions-wrap" collapsible="openClass: false, closeOnOuter: false,opened:true">
    – ajay singh
    Commented Nov 12, 2020 at 19:08
  • Hi Ajay, thank you for your contribution. Answers do better if you give a bit more detail in your explanation. Try to add more text explaining what you did there Commented Nov 13, 2020 at 7:16

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.