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

Semantic-UI (Export to Excel along with Showing records per page issue)

$
0
0

I am using this and its really cool,``https://datatables.net/extensions/buttons/examples/styling/semanticui.html using below code for semantic ui

$(document).ready(function() {
    var table = $('#example').DataTable( {
        lengthChange: false,
        buttons: [ 'copy', 'excel', 'pdf', 'colvis' ]
    } );

    table.buttons().container()
        .appendTo( $('div.eight.column:eq(0)', table.table().container()) );
} );

But when I show export buttons , showing option hide.

if i make lengthChange: false, than buttons move to 2nd line. although its shows showing per page and export on same time.

Please support as i cannot use dom with sematicn ui settings.

Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.


Viewing all articles
Browse latest Browse all 82357

Trending Articles



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