ColVis and aLengthMenu with jQuery UI Theme

ColVis and aLengthMenu with jQuery UI Theme

equisdeequisde Posts: 34Questions: 0Answers: 0
edited June 2012 in Plug-ins
I´m trying to implement ColVis plug-in

This is my sDom initialization string, in order to apply jQuery UI Theme integration

[code] oTable = $('#companies').dataTable({
"sDom": '<"H"Cfr>t<"F"ip>',

"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"iDisplayLength": 10,
"aoColumns": [

{ "bSortable": false, "bSearchable": false },
null,
null,
null,
null,

]

});
[/code]

My problem is that using "sDom": '<"H"Cfr>t<"F"ip>' ColVis button is render with UI theme but my "Show entries" dropdown list is not appearing.

If I use "sDom": 'RC<"clear">lfrtip' then both ColVis button and Show Entries dropdown list are showing correctly, but no UI :(

I know the cause is the sDom sintax but after reading documentation and several tries i´m not able to keep it working.

Could you please help me?

Thanks in advance

Replies

  • equisdeequisde Posts: 34Questions: 0Answers: 0
    Nobody has implemented ColVis working with Show Entries field ath the same time???
  • cwaitemancwaiteman Posts: 1Questions: 0Answers: 0
    Hi... add l in sintaxe: "sDom": '<"H"lCfr>t<"F"ip>'
  • equisdeequisde Posts: 34Questions: 0Answers: 0
    Hello cwaiteman,

    You make my day!! Thanks a lot!
This discussion has been closed.