(_table controls entries table-id)
Generate a table from entries
according to headers and getter-fns in controls
Generate a table from `entries` according to headers and getter-fns in `controls`
(add-unique-key items)
(atom? a)
ducktype an atom as something dereferable
ducktype an atom as something dereferable
(check-for-duplicates table-id)
(curate-entries {:as args :keys [paging-controls entries table-id]})
(default-paging table-id)
Set up a local atom and define paging functions with reference to it
Set up a local atom and define paging functions with reference to it
(dissoc-all-data! table-id)
(generate-rows {:as args :keys [controls entries table-id]})
Generate all the rows of the table from entries
, according to controls
Generate all the rows of the table from `entries`, according to `controls`
(generate-table-id table-id)
(generate-theads {:as args :keys [controls paging-controls table-id]})
generate the table headers
generate the table headers
(paging paging-controls entries)
Limit view of entries to a given screen.
If paging-controls
is falsy, do not filter.
Limit view of entries to a given screen. If `paging-controls` is falsy, do not filter.
(render-header-fields {:as args :keys [controls table-id]})
(render-screen-controls
{:as paging-controls
:keys [get-current-screen get-amount set-amount set-current-screen
set-final-screen get-final-screen r-content rr-content f-content
ff-content left-bar-content right-bar-content num-columns
entries-option align show-total-pages?]
:or {num-columns 100}}
table-scroll-bar
table-id)
Render the controls to edit this screen for results
Render the controls to edit this screen for results
(update-all-data! table-id entries)
(update-current-data! table-id entries)
(update-default-entries-per-page! controls table-id)
(update-paging-info! table-id)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close