0

I'm using magento v2.2.5 and i tried to add new column in magento 2 grid by extending customer_listing.xml like this:

<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
 <columns name="customer_columns" class="Magento\Customer\Ui\Component\Listing\Columns">
   <column name="membership" sortOrder="45">
       <settings>
           <filter>text</filter>
           <label translate="true">Membership</label>
       </settings>
   </column>
  </columns>
</listing>

the column shows up perfectly, but the problem is the filter toolbar above the grid is dissapear, but when i scroll down the filter toolbar shows up, when i click the filter toolbar the filter didnt appear at top of customer grid but at the bottom:

enter image description here

enter image description here

enter image description here

1 Answer 1

0

Try to truncate table named as ui_bookmark then check. Please export this table before you truncate so that you have backup of this table in case anything went wrong.

1

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.