我試圖將TB3與DataTables集成爲this example show,但我無法獲得它,因爲您可能會在附圖上看到它。無法將Datatables與Bootstrap 3集成
什麼是不工作? select元素沒有應用TB類,也與搜索框和最後的上一個|下一個按鈕一樣。我在這裏做的唯一的事情就是添加dataTableBootstrap.js腳本和dataTableBootstrap.css風格,其餘的是一個共同的TB3表格標記:
<table class="table table-striped table-hover table-condensed" id="dataTable">
<thead>
<tr>
<th></th>
<th>Tipo de Trámite</th>
<th>No. Solicitud</th>
<th>Tipo de Solicitud</th>
<th>Estado</th>
<th>Fecha</th>
<th>Acciones</th>
</tr>
</thead>
<tbody>
... something goes here
</tbody>
</table>
如果我通過Chrome的調試頁面,我可以在控制檯中看到這樣的錯誤:
Uncaught TypeError: Cannot read property 'pageButton' of undefined dataTables.bootstrap.js:38
是對plugin/script過時的或我在這裏失去了一些東西?任何幫助或建議?
它不工作我使用的是一個你離開這裏,我得到了相同的結果 – ReynierPM 2014-09-30 14:40:53