-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample3.html
More file actions
68 lines (65 loc) · 2.54 KB
/
Copy pathexample3.html
File metadata and controls
68 lines (65 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Ajax data | AltEditor examples</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.css"
/>
<link
rel="stylesheet"
href="https://cdn.datatables.net/2.3.8/css/dataTables.dataTables.css"
/>
<link
rel="stylesheet"
href="https://cdn.datatables.net/buttons/3.2.6/css/buttons.dataTables.css"
/>
<link
rel="stylesheet"
href="https://cdn.datatables.net/select/3.1.3/css/select.dataTables.css"
/>
<link
rel="stylesheet"
href="https://cdn.datatables.net/responsive/3.0.8/css/responsive.dataTables.css"
/>
<link rel="stylesheet" href="../../dist/dataTables.altEditor.css" />
<link rel="stylesheet" href="../examples.css" />
<script src="../theme.js"></script>
</head>
<body class="examples-page">
<main class="example-main">
<header class="example-header">
<nav aria-label="Example navigation">
<a href="../../index.html">← All examples</a>
· <a href="./example3.js">Configuration source</a>
· <a href="https://github.com/bensitu/DataTable-AltEditor/blob/develop/docs/examples.md">Example guide</a>
</nav>
<p class="example-eyebrow">DataTable-AltEditor / Example 03</p>
<h1>Ajax data</h1>
<p>
Load object-based rows from a static JSON response. Requests
demonstrate the callback flow; this example has no persistent backend.
</p>
</header>
<div
class="example-table"
tabindex="0"
role="region"
aria-label="Editable table 1"
>
<table class="dataTable display" id="example"></table>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://cdn.datatables.net/2.3.8/js/dataTables.js"></script>
<script src="https://cdn.datatables.net/buttons/3.2.6/js/dataTables.buttons.js"></script>
<script src="https://cdn.datatables.net/select/3.1.3/js/dataTables.select.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.js"></script>
<script src="https://cdn.datatables.net/responsive/3.0.8/js/dataTables.responsive.js"></script>
<script src="../../dist/dataTables.altEditor.js"></script>
<script src="./example3.js"></script>
</body>
</html>