Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81688

ColVis and aLengthMenu with jQuery UI Theme

$
0
0
I´m trying to implement ColVis plug-in

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

 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,
 
                        ]
 
        });
 

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

Viewing all articles
Browse latest Browse all 81688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>