(_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`
(a-control-label {:keys [content screen page? set-current-screen]})
(activate-listeners controls table-id)
(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-data! k)
(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 table-id controls entries)
(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
(style-cell {:as args :keys [arg-map c controls table-id]})
creates logic for all of the cell styling
creates logic for all of the cell styling
(update-atoms! controls entries table-id)
(update-data! table-id entries k)
(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