Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

135
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda