(render-header cols parts)
Render the table header
Render the table header
(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
(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:
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close