elm package cache
Packages
Reroutes
About
lamdera.com
MackeyRMS
/
elm-ui-table
/
1.1.4
README
About
Versions
Source
Modules
Table.Column
Flexible helpers for constructing
Table.Column
s
Primary Constructors
type
alias
Column
ctx record msg
=
{ title
:
String
, startingWidth
:
Maybe
Length
, sort
:
Sorter
record
, body
:
record ->
Element
ctx msg
, toStr
:
record ->
String
, filter
:
Maybe
(
String
->
String
->
Bool
)
, encode
:
record ->
Value
, tooltip
:
Maybe
String
}
date
:
String
->
Maybe
Length
-> (record ->
Posix
)
->
Column
{ ctx | tz
:
Zone
} record msg
SIMPLE
dateTime
:
String
->
Maybe
Length
-> (record ->
Posix
)
->
Column
{ ctx | tz
:
Zone
} record msg
SIMPLE
float
:
String
->
Maybe
Length
-> (record ->
Float
) ->
Column
ctx record msg
SIMPLE
int
:
String
->
Maybe
Length
-> (record ->
Int
) ->
Column
ctx record msg
SIMPLE
string
:
String
->
Maybe
Length
-> (record ->
String
) ->
Column
ctx record msg
SIMPLE
ellipsis
:
String
->
Maybe
Length
-> (record ->
String
) ->
Column
ctx record msg
custom
:
String
->
Maybe
Length
-> (record ->
Element
ctx msg)
->
Column
ctx record msg
SIMPLE
Extended Constructors
date_
:
String
->
Maybe
Length
-> (record ->
Posix
)
-> (record ->
Element
{ ctx | tz
:
Zone
} msg)
->
Column
{ ctx | tz
:
Zone
} record msg
COMPLEX
dateTime_
:
String
->
Maybe
Length
-> (record ->
Posix
)
->
Column
{ ctx | tz
:
Zone
} record msg
COMPLEX
int_
:
String
->
Maybe
Length
-> (record ->
Int
)
-> (record ->
Element
ctx msg)
->
Column
ctx record msg
COMPLEX
string_
:
String
->
Maybe
Length
-> (record ->
String
)
-> (record ->
Element
ctx msg)
-> (record ->
Value
)
->
Column
ctx record msg
COMPLEX
custom_
:
String
->
Maybe
Length
-> (record ->
Element
ctx msg)
-> (record ->
Value
)
->
Column
ctx record msg
COMPLEX
Exposing Type Constructors
type
Sorter
record
=
Sorted
String
(
List
record ->
List
record)
|
Unsorted
Column Modifiers
keep
:
(
String
->
String
->
Bool
)
->
Column
ctx record msg
->
Column
ctx record msg
tooltip
:
String
->
Column
ctx record msg ->
Column
ctx record msg
withSort
:
(record -> comparable)
->
Column
ctx record msg
->
Column
ctx record msg
README
About
7 versions
Source
Modules
Table
Table.Column