Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

280
Vistas
Ag grid external filtering with Tree Data not able to remove parent after filtering

We are using ag-grid version 25.0.1 We are having tree data such as

[
    {
      path: ['Ten'],
    },
    {
      path: ['Ten', 'Twenty'],
    },
    {
      path: ['Ten', 'Twenty', 'Thirty'],
    },
    {
      path: ['Ten', 'Twenty', 'Thirty', 'Fourty'],
    },
    {
      path: ['One'],
    },
    {
      path: ['One', 'Two'],
    },
    {
      path: ['One', 'Two', 'Three'],
    },
  ]

on applying an external filter with a value of Thirty https://www.ag-grid.com/javascript-data-grid/filter-external/. We are getting the result along with its parents as

[
    {
      path: ['Ten'],
    },
    {
      path: ['Ten', 'Twenty'],
    },
    {
      path: ['Ten', 'Twenty', 'Thirty'],
    }
]

Is there any way where we can exclude the parents on filter in Tree data and only filter the exact row that is satisfies the condition without getting any filler Groups in ag-grid ?? i.e

[
    {
      path: ['Ten', 'Twenty', 'Thirty'],
    }
]
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda