(build-page-boundaries {:keys [current-page page-size total-items]})
Given the pagination information will return where the current page starts and ends, usefull to show this info in labels à la gmail (1-10 of 100)
Note: This function does not assume 0 indexes, so first page is 1 and so on.
Given the pagination information will return where the current page starts and ends, usefull to show this info in labels à la gmail (1-10 of 100) Note: This function does not assume 0 indexes, so first page is 1 and so on.
(data-page source
current-page
page-size
events-channel
sort-info
force-page-reload)
(grid source
target
&
{:keys [id onChange events-channel key-field header pager language
disable-selection? responsive?]
:as definition})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close