I Have dropdown in table cells, how to add dorpdown value to a custom filter pane
I Have dropdown in table cells, how to add dorpdown value to a custom filter pane

<div class="container">
<div class="row">
<table class="table table-striped table-bordered" id="myTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Seed Received</th>
</tr>
</thead>
<tbody>
<td><div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Seed Status
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<label class="form-check-label dropdown-item">
Seed 1
</label>
<label class="form-check-label dropdown-item">
Seed 2
</label>
</div>
</div></td>
</tbody>
<tfoot>
<tr>
<th>Seed Received</th>
</tr>
</tfoot>
</table>
</div>
</div>
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @naveenkumar123.nk ,
As per the forum rules, could you please link to a test case. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Thanks,
Sandy
Hi @sandy
Here is the test link http://live.datatables.net/rucacizo/4/edit?html,css,js,output
Thanks
Naveen
@naveenkumar123.nk ,
I see, so you want to take the options from the dropdowns as options in SearchPanes? To do this you will need to make use of
columns.searchPanes.options
to set some custom options and search functions for SearchPanes.Thanks,
Sandy
Thanks