[YADCF] Place the filters into a separate section.
[YADCF] Place the filters into a separate section.
Cohaven
Posts: 7Questions: 2Answers: 0
Is there a way in YADCF to place the filters into a separate section, as is possible with the ColumnFilter plugin?
$('#listDocs').dataTable().columnFilter({
sPlaceHolder: "head:before",
aoColumns:[
null,
{ sSelector: "#Product" , type:"select"},
{ sSelector: "#Version" , type:"select"},
{ sSelector: "#Type" , type:"select"},
]});
In this example, the filters would go under the specified-by-id DOM element using the sSelector property.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Cohaven ,
It's a small world I'll ping @daniel_r - YADCF is his baby, so if he's online he may be able to give a quick reply.
Cheers,
Colin
Heya,
You got two options, filter_container_id and filter_container_selector read docs and you can also look at the showcase
Thanks! That looks exactly like what I was looking for. Didn't catch that the parameter details are in the plugin js file. That should definitely come in handy for any of my future needs.