Skip to content

Commit

Permalink
add cell attribute demo
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Nov 21, 2023
1 parent 95be439 commit 0a20a76
Show file tree
Hide file tree
Showing 6 changed files with 1,685 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/demos/17-checkbox-column/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ <h2>Checkbox column</h2>
)
}
})
window.datatable = datatable
}
)
</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/18-fetch-api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>Fetch API</h2>
if (!data || !data.length) {
return
}
new window.simpleDatatables.DataTable("#demo-table", {
window.datatable = new window.simpleDatatables.DataTable("#demo-table", {
data: {
headings: Object.keys(data[0]),
data: data.map(item => Object.values(item))
Expand Down
Loading

0 comments on commit 0a20a76

Please sign in to comment.