我想在标题和表格之外对齐数据表列过滤器datepicker。它可能吗? [英] i want to align datatable column filter datepicker outside the header and the table..is it possible?
本文介绍了我想在标题和表格之外对齐数据表列过滤器datepicker。它可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在标题和表格之外对齐数据表列过滤器datepicker ..它可能吗?
i want to align datatable column filter datepicker outside the header and the table..is it possible??
推荐答案
是的,我得到了它:)
yeah i got it :)
(' #checkAll')。dataTable({
bJQueryUI: false ,
sPaginationType: full_numbers,
bAutoWidth: false ,
bStateSave : true ,
bLengthChange: true ,
aLengthMenu:[[ 10 , 25 , 50 , 100 , - 1],[ 10 , 25 , 50 , 100 , 所有]],
// iDisplayLength:2,
aoColumns:[
{ bSortable: false },
null ,
空跨度>,
null ,
null ,
null ,
{ bSortable: false }
]
})。columnFilter({sPlaceHolder: < span class =code-string> head:after,
aoColumns:[
null ,
< span class =code-keyword> null ,
{sSelector: #Datefilter ,键入: date-range},
null ,
null ,
null
]
});
('#checkAll').dataTable({ "bJQueryUI": false, "sPaginationType": "full_numbers", "bAutoWidth": false, "bStateSave": true, "bLengthChange": true, "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], //"iDisplayLength" :2, "aoColumns": [ { "bSortable": false }, null, null, null, null, null, { "bSortable": false } ] }).columnFilter({ sPlaceHolder: "head:after", aoColumns: [ null, null, { sSelector: "#Datefilter", type: "date-range" }, null, null, null ] });
这篇关于我想在标题和表格之外对齐数据表列过滤器datepicker。它可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文