Liking cljdoc? Tell your friends :D

re-frame-datatable.db

Functions for manipulating the re-frame database

Functions for manipulating the re-frame database
raw docstring

configurationclj/s

(configuration db id)

Gets the configuration of the given table

Gets the configuration of the given table
sourceraw docstring

optionsclj/s

(options db id)
source

paginationclj/s

(pagination db id)
source

per-pageclj/s

(per-page db id)

Gets the correct per-page value for pagination, by retrieving it from state or options, or falling back to the default.

Gets the correct `per-page` value for pagination, by retrieving it from state
or options, or falling back to the default.
sourceraw docstring

rootclj/s

source

selectionclj/s

(selection db id)

Retrieves selected indices

Retrieves selected indices
sourceraw docstring

set-configurationclj/s

(set-configuration db id c)
source

set-optionsclj/s

(set-options db id o)
source

set-paginationclj/s

(set-pagination db id s)

Sets current pagination configuration in state

Sets current pagination configuration in state
sourceraw docstring

set-selectionclj/s

(set-selection db id idxes)

Sets selected indices in db

Sets selected indices in db
sourceraw docstring

set-sortingclj/s

(set-sorting db id s)

Sets current sorting configuration in state

Sets current sorting configuration in state
sourceraw docstring

set-stateclj/s

(set-state db id s)
source

sortingclj/s

(sorting db id)
source

stateclj/s

(state db id)

Gets the state of the given table

Gets the state of the given table
sourceraw docstring

update-selectionclj/s

(update-selection db id f)
source

update-stateclj/s

(update-state db id f & args)

Applies f with arguments to the state for given table

Applies `f` with arguments to the state for given table
sourceraw docstring

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

× close