我有一个包含最基本的初始化代码的dataTable。但是,我需要为出现在表格底部的分页分配一个自定义分页css类(我想分配Twitter引导分页类)。我该怎么做呢?
下面是我的代码:
$(document).ready(function() {
/* Build the DataTable with third column using our custom sort functions */
$('#list_table').dataTable({"sPaginationT
我在DataTable中使用引导分页,第一列包含复选框,默认显示的记录数是10,当我更改记录数时,只显示10个复选框。
var oTable = $('.datatable').dataTable({
aoColumnDefs : [
{
aTargets: [0], // Column number which needs to be modified
fnRender: function (o, v) { // o, v contains the object and value for the column
re
我使用的是数据,当我使用FixedColumns插件时,它在Chrome中很好,但是在FF和IE中,地平线滚动条没有出现,当我分页到下一页时,滚动条显示,当我再次分页到下一页时,滚动条再次漏掉。此外,在FF和IE中,当固定列工作时,列是错误对齐的.我不知道怎么回事。下面是我的代码:
var oTable = $('#mytable').dataTable({
'sScrollX':'100%'
});
new FixedColumns( oTable, {
"iLeftColumns": 2,
"i