Get started with gridjs CDN
MIT licensed
GridJS: Lightweight, flexible table library with sorting, searching, and pagination.
Tags:- gridjs
- grid
- table
- sort
- filter
- search
Stable version
Copied!
How to start using gridjs CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with gridjs CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gridjs/dist/theme-mermaid/gridjs.min.css" />
<script src="https://cdn.cdnhub.io/gridjs/6.2.0/gridjs.production.min.js"></script>
</head>
<body>
<div id="gridcontainer"></div>
<script>
const grid = new gridjs.Grid('gridcontainer', {
columns: ['Name', 'Age'],
data: [
{ Name: 'John Doe', Age: 30 },
{ Name: 'Jane Doe', Age: 25 },
{ Name: 'Bob Smith', Age: 45 },
],
});
grid.render();
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!