Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
Is there any way to show the filter icon close to sorter icon in ant design table?

How can we show filter Icon next to sorter icon in Ant Design Table ? Below is my column config, I have added custom filter icon like this, and on click of that I am opening a custom popup from where I display a table and from there I select the rows for filtering the data. That's why I have kept filterDropdownVisible as false.

Column Config:

{
            title: "Issuing Control ID",
            dataIndex: "controlId",
            key: "controlId",
            filters: [],
            filterDropdownVisible: false,
            filterIcon: (filtered: boolean) => (
                <MyCustomIcon onClick={() => setShowFilterModal(true)}  />
            ),
},

But the default behaviour of ant design is that it's showing the filter icon very far from the sorter icon and the title. So can we change that default behaviour to show the filter icon next to the sorter icon ?

Default Behaviour

enter image description here

Expected

Want the filter Icon next to sorter icon !

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!