Get started with jexcel CDN

MIT licensed

JExcel is a Java library for handling Excel files using Apache POI.

Tags:
  • jquery-plugin
  • spreadsheet
  • tables
  • table
  • excel
  • grid
  • grid-editor
  • data-table
  • data-grid
  • data-spreadsheet

Stable version

Copied!

How to start using jexcel CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jexcel CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/jexcel/4.6.1/css/jexcel.min.css">
</head>
<body>
    <div class="container mt-5">
        <table id="myTable" class="table table-bordered">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Age</th>
                    <th>City</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>John Doe</td>
                    <td>30</td>
                    <td>New York</td>
                </tr>
                <tr>
                    <td>Jane Doe</td>
                    <td>25</td>
                    <td>Los Angeles</td>
                </tr>
            </tbody>
        </table>
    </div>

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
    <script src="https://cdn.cdnhub.io/jexcel/4.6.1/jexcel.min.js"></script>

    <script>
        $(document).ready(function() {
            $('#myTable').Jexcel({
                data: [
                    ['John Doe', 30, 'New York'],
                    ['Jane Doe', 25, 'Los Angeles']
                ],
                columns: [
                    { title: 'Name' },
                    { title: 'Age' },
                    { title: 'City' }
                ]
            });
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions