Export Html Table To Excel Spreadsheet using jQuery - table2excel

    Rating: ★★★★☆
    View: 250
    Download: 339

    How to use it:

    1. Include jQuery library and the jQuery table2excel plugin in the Html document.

    
    

    2. Create an 'Export' button to export table data to an Excel file manually. Optional.

    3. Call the plugin on the table and done.

    $("button").click(function(){
      $("#table2excel").table2excel({
        // exclude CSS class
        exclude: ".noExl",
        name: "Worksheet Name",
        filename: "SomeFile" //do not include extension
      }); 
    });

    4. You can add the CSS class 'noExl' to any tr tags to ignore the specified table data while exporting.

    
      #
      Column heading
      Column heading
      Column heading
    

     

    loading Đang tải...

    template được ưa chuộng