Get started with datatables.net-colreorder-dt CDN

MIT licensed

Datatables.net colreorder plugin: Reorder columns by drag and drop.

Tags:
  • reorder
  • jQuery
  • table
  • DataTables

Stable version

Copied!

How to start using datatables.net-colreorder-dt CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with datatables.net-colreorder-dt CDN - cdnhub.io</title>
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
</head>
<body>
    <div class="container">
        <table id="example" class="display" style="width:100%">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Position</th>
                    <th>Office</th>
                    <th>Age</th>
                    <th>Start date</th>
                    <th>Salary</th>
                </tr>
            </thead>
        </table>
    </div>

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.min.js"></script>
    <script src="https://cdn.cdnhub.io/datatables.net-colreorder-dt/2.0.0/colReorder.dataTables.min.js"></script>
    <script src="script.js"></script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions