Liking cljdoc? Tell your friends :D

retabled.core


atom?clj/s

(atom? a)

ducktype an atom as something dereferable

ducktype an atom as something dereferable
raw docstring

col-map-helpclj/s

Possible values of col-maps within :columns of control-map

Possible values of col-maps within `:columns` of control-map 
raw docstring

control-map-helpclj/s

The possible values of a control-map for a table, which should be a sequence of maps where each map corresponds to one column of the table.

The possible values of a control-map for a table, which should be a
sequence of maps where each map corresponds to one column of the table.
raw docstring

curate-entriesclj/s

(curate-entries paging-controls entries SORT)

DEFAULT-PAGE-ATOMclj/s


default-pagingclj/s

(default-paging)

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
raw docstring

default-sortclj/s

function to return a default sort map-atom

function to return a default sort map-atom
raw docstring

filter-by-mapclj/s

(filter-by-map filter-map map-coll)

Filter a collection of maps by a filter-map, where the filter map specifies the columns and the value to filter them by.

Strings will be made into basic regexp.

Filter a collection of maps by a filter-map, where the filter map specifies the columns and the value to filter them by.

Strings will be made into basic regexp.
raw docstring

FILTER-MAPclj/s


gen-filterclj/s

(gen-filter col-map)

Generate an input meant to filter a column. filter-address is the key of this filter in FILTER-MAP and may be a function, keyword, etc, as specified by (:valfn col-map)

Generate an input meant to filter a column. `filter-address` is the key of this filter in `FILTER-MAP` and
may be a function, keyword, etc, as specified by `(:valfn col-map)`
raw docstring

gen-sortclj/s

(gen-sort c SORT headline)

Render the title as a link that toggles sorting on this column

Render the title as a link that toggles sorting on this column
raw docstring

generate-filter-fnclj/s

(generate-filter-fn filter-map)

Produce the function which compares a filter-map to a map and deems it good or not. If a :key in filter-map doesn't exist when filtering filterable-map, the filterable map will fail this function.

Produce the function which compares a filter-map to a map and deems it good or not. If a :key in `filter-map` doesn't exist when filtering `filterable-map`, the filterable map will fail this function.
raw docstring

generate-rowsclj/s

(generate-rows controls entries)

Generate all the rows of the table from entries, according to controls

Generate all the rows of the table from `entries`, according to `controls`
raw docstring

generate-theadsclj/s

(generate-theads controls paging-controls SORT)

generate the table headers

generate the table headers
raw docstring

PAGINGclj/s


sort-clickclj/s

(sort-click valfn SORT)

Select sort field; if sort field unchanged, sort direction

Select sort field; if sort field unchanged, sort direction
raw docstring

tableclj/s

(table controls entries)

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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close