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

193
Vistas
yadcf for DataTables: Show only filtered/available values in select dropdown-box

Is there a way in yadcf for DataTables, for the values in select2 dropdown-boxes, to adapt to the current filtering of the table.

That means: I want to only see the values in the dropdown-box which are visible in the table right now.

Example: Go here: http://yadcf-showcase.appspot.com/DOM_source_chosen.html

And see my screenshot: enter image description here

After filtering column 1, I'd expect the tag-column to only show "Tag 1", "Tag 2", "Tag 3" because only those are remaining...

Is there a way to do it?

Thanks a lot!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You should use the cumulative_filtering option of the yadcf

See live demo page https://yadcf-showcase.appspot.com/cumulative_filtering.html

  • cumulative_filtering Required: false Type: boolean Default value: false Description: Change the default behavior of the filters so its options will be populated from the filtered rows (remaining table data after filtering) only, unlike the normal behavior in which the options of the filters are from all the table data
about 4 years ago · Juan Pablo Isaza Denunciar
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