Recalculate inputs after select one of them: Individual column searching (select inputs)

Recalculate inputs after select one of them: Individual column searching (select inputs)

niconhniconh Posts: 1Questions: 0Answers: 0

Hello, Is there any way to recalculate the filter of all columns after choosing a column filter?

https://datatables.net/examples/api/multi_filter_select.html

For example, in this table, when you choose "Developer" in Position, and then you select a Name only show the four names available for "Developer"

Thank you in advance!

Replies

  • colincolin Posts: 15,177Questions: 1Answers: 2,589

    Hi @niconh ,

    I've been thinking about this, but it's hard to think of the logic - your example is easy when there's just the two columns, but if you choose more, and then look at the previous dropdowns, it's hard to define how they should then behave.

    A good workaround for this, is when there's a dependency on the menus which gives an order. This was discussed on another thread yesterday, and this example came out of it.

    Hope that works for you,

    Cheers,

    Colin

This discussion has been closed.