Drop down column filter
Drop down column filter
Hi,
I am trying to use Datatables and i love it, however i stumbled upon a question what i am not able to solve.
In my database i have a table containing a list of domain names. And in another table i have a list of list's. They are connected trough the domain name (this table is used by DataTables).
Now i want a drop down menu containing all the domain names (from the table domain) that filters datatables on the selected domain name.
(So only things containtaing that domain name are being showed).
But i can not find anything that does so.
I've tryed adding ?domain="the selected domain" to the Ajax source link but i have no idea how to use that to filter the contents of DataTables
I am trying to use Datatables and i love it, however i stumbled upon a question what i am not able to solve.
In my database i have a table containing a list of domain names. And in another table i have a list of list's. They are connected trough the domain name (this table is used by DataTables).
Now i want a drop down menu containing all the domain names (from the table domain) that filters datatables on the selected domain name.
(So only things containtaing that domain name are being showed).
But i can not find anything that does so.
I've tryed adding ?domain="the selected domain" to the Ajax source link but i have no idea how to use that to filter the contents of DataTables
This discussion has been closed.