how to hide the footer?

how to hide the footer?

cadremancadreman Posts: 2Questions: 0Answers: 0
edited August 2011 in DataTables 1.8
how to hide the footer?
i set the sDom to 'lft' then no header and footer.
i want hide the footer only.
how to set the options?

can anybody please give me a quick example?

thanks

my code:
[code]
var vGrid=$('#example').dataTable({
aaData:myJson ,//设置json数据源
aoColumns: vCols,//设置列属性
iDisplayLength:$('#pageLines').val(),//每页显示多不项
sDom:'lft', //显示表格头或尾的相关信息
bLengthChange:false, //显示表格自带的每页显示几项的选项
sScrollY:'430px',//设置表主页显示的限高
//sPaginationType: "full_numbers",//设置显示翻页按钮方案
bJQueryUI:true, //必须设置此项才会显示成smooth风格,当然也需要提前加载此样式表
bInfo:false, //是否显示 Showing 1 to 010 of 10 entries
bPaginate:false, //是否显示翻页按钮
//oLanguage:{sUrl:'/scripts/grid/language/cn.txt'}, //加载语言表 注意加载后,在使用FixedColumns时不会效果
bScrollCollapse:true,sScrollX:'100%',
sScrollXInner:'150%'//列宽放大
} );
[/code]

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    edited August 2011
    easiest ways:

    1) don't include in your table
    2) try some css or jquery to hide footer
This discussion has been closed.