ColVis and aLengthMenu with jQuery UI Theme
ColVis and aLengthMenu with jQuery UI Theme
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
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
This discussion has been closed.
Replies
You make my day!! Thanks a lot!