ColVis and aLengthMenu with jQuery UI Theme
ColVis and aLengthMenu with jQuery UI Theme
Hello,
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.
Can anyone help me??
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.
Can anyone help me??
This discussion has been closed.
Replies
Can anybody help me?
Thanks in advance