When I create an external filter for a yadcf column, which uses select2 as the selection method, the font in the selections does not follow the .body font specified in the wrapper <div>
Is there any way to control this?
See http://codepen.io/louking/pen/rxKeob click in Match field. You can see the font has serif but .body font is Arial, Helvetica, sans-serif.
Note I am using yadcf 0.8.8+ (through commit https://github.com/vedmack/yadcf/commit/4b778d7747c5c1cd4f362e6a6154c172f4a88ad3)
html shown below
<div class=body>
<label class="Label">Match:</label><span id="select"></span>
<table id=tbl class=DataList width=100%>
<thead>
<tr>
<th>col0</th>
<th>col1</th>
<th>col2</th>
</tr>
</thead>
<tbody>
<tr>
<td>text-obvious</td>
<td>b0</td>
<td>c0</td>
</tr>
<tr>
<td>more-text</td>
<td>b1</td>
<td>c1</td>
</tr>
</tbody>
</table>
</div>
js shown below
options = {
dom: '<"H"lBpfr>t<"F"i>',
jQueryUI: true,
paging: false,
scrollY: true,
scrollCollapse: true,
scrollX: true,
};
var yadcffilters = [{
column_number: 0,
filter_container_id: "select",
column_data_type: "text",
filter_match_mode: "exact",
filter_type: "multi_select",
select_type: 'select2',
select_type_options: {
width: '20em',
},
filter_reset_button_text: 'all',
}];
var table = $('#tbl').dataTable(options)
.yadcf(yadcffilters);