Second dropdown appears only when first dropdown is selected
Second dropdown appears only when first dropdown is selected

Is there a way when i select an item from first dropdown then only the second dropdown appears with populated results . Any help is appreciated.
This discussion has been closed.
Replies
Hi @Gamebox28 ,
Yep, you can just have it hidden (see here), then show it on the
click
event of the first dropdown. That's more of a standard JS question than anything specific to DataTables.Cheers,
Colin
Hi @colin,
Actually i was trying to do that when i click on an item in first dropdown then the second dropdown which is hidden now appears with the matched results only ... i have tried different thing but i cant find a way.
Hi @Gamebox28 ,
This example here may get you heading in the right direction.
Cheers,
Colin
Thanks for resolving the issue