Liking cljdoc? Tell your friends :D

retabled.filter


exceptionsclj/s


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


filteringclj/s

(filtering table-id entries)

Filter entries according to FILTER-MAP

Filter entries according to `FILTER-MAP`
raw docstring

gen-filterclj/s

(gen-filter {:as args :keys [col-map table-id filter-in-url]})

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

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

map-from-urlclj/s

(map-from-url)

on-change-filterclj/s

(on-change-filter {:keys [filter-in-url col-map filter-address search-string
                          search-map-address ignore-case? table-id]})

Returns a function that will be used for on-change events in the input filter bar

Returns a function that will be used for on-change events in the input filter bar
raw docstring

on-click-filterclj/s

(on-click-filter {:as args :keys [col-map table-id filter-in-url value]})

Changes the filter value based on value clicked

Changes the filter value based on value clicked
raw docstring

resolve-filterclj/s

(resolve-filter controls entries)

sanitize-input-stringclj/s

(sanitize-input-string string)

Takes an input string and escapes special characters that may affect regexp or URL mapping

Takes an input string and escapes special characters that may affect regexp or URL mapping
raw docstring

search-in-urlclj/s

(search-in-url)

SEARCH-MAPclj/s


url-from-mapclj/s

(url-from-map)

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

× close