On my DataTable Jquery, I need to initialize (Using JS / JQuery) manually, the data-plugin = "selectable" plugin. When I add it to the html, everything works correctly, but I need to initialize it manually, using Jquery. Does anyone know how to help me?
Tank you!
<div class="panel panel-default">
<table id="dtFinanceiroParcela" class="table table-striped table-bordered center-header table-vcenter table-responsive-lg" data-plugin="selectable" data-row-selectable="true" cellspacing="0" width="100%">
<thead class="bg-blue-grey-100">
<tr>
<th>
<span class="checkbox-custom checkbox-default">
<input class="selectable-all" type="checkbox">
<label></label>
</span>
</th>
<th>
Parcela
</th>
<th>
Data de Emissão
</th>
<th>
Data de Vencimento
</th>
<th>
Valor da Parcela
</th>
<th>
Situação
</th>
<th>
Ações
</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
I tried to do it like this, but it didn't work:
$('#dtFinanceiroParcela').selectable();