Liking cljdoc? Tell your friends :D

re-com.simple-v-table


render-headercljs

(render-header cols parts)

Render the table header

Render the table header
sourceraw docstring

render-rowcljs

(render-row cols
            on-click-row
            on-enter-row
            on-leave-row
            row-height
            row-style
            cell-style
            table-row-line-color
            row-index
            row)

Render a single row of the table data

Render a single row of the table data
sourceraw docstring

simple-v-tablecljs

(simple-v-table &
                {:keys [model columns fixed-column-count on-click-row
                        on-enter-row on-leave-row column-header-height
                        row-height max-rows table-padding table-row-line-color
                        fixed-column-border-color max-table-width
                        header-renderer row-style cell-style class parts]
                 :or {fixed-column-count 0
                      table-padding 19
                      row-height 31
                      column-header-height 31
                      table-row-line-color "#EAEEF1"
                      fixed-column-border-color "#BBBEC0"
                      header-renderer render-header}
                 :as args})

Render a v-table and introduce the concept of columns (provide a spec for each). Of the nine possible sections of v-table, this table only supports four: top-left (1), row-headers (2), col-headers (4) and rows (5) Note that row-style and cell-style can either be a style map or functions which return a style map:

  • (row-style row)
  • (cell-style row col) where row is the data for that row and col is the definition map for that column
Render a v-table and introduce the concept of columns (provide a spec for each).
Of the nine possible sections of v-table, this table only supports four:
top-left (1), row-headers (2), col-headers (4) and rows (5)
Note that row-style and cell-style can either be a style map or functions which return a style map:
 - (row-style row)
 - (cell-style row col)
where row is the data for that row and col is the definition map for that column
sourceraw docstring

simple-v-table-args-desccljs

source

simple-v-table-partscljs

source

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

× close