QiTASC/hatchinq/4.2.1

NOTE: the latest version is 29.0.0

Hatchinq.DataTable

Exposed

type alias Config item msg =
{ theme : Theme
, lift : Message item msg -> msg
}
type Message item msg
type alias State item =
{ hoveredHeader : Maybe Int
, sort : Sort item
}
type alias View item msg =
{ columns : List (Column item msg)
, items : List item
, state : State item
}
column : Element msg -> Length -> (Int -> item -> Element msg) -> Column item msg
Config item msg
-> List (Attribute (InternalConfig item msg))
-> View item msg
-> Element msg
(item -> Bool)
-> (item -> Bool -> msg)
-> (item -> Element msg)
-> Attribute (InternalConfig item msg)
infinite : Attribute (InternalConfig item msg)
init : State item
plain : Attribute (InternalConfig item msg)
(item -> Bool)
-> (item -> Bool -> msg)
-> (Bool -> msg)
-> Attribute (InternalConfig item msg)
Element msg
-> Length
-> (Int -> item -> Element msg)
-> (List item -> List item)
-> Column item msg
Element msg
-> Length
-> (Int -> item -> Element msg)
-> (Int -> Maybe Bool -> msg)
-> Column item msg
update : Message item msg -> State item -> ( State item, Cmd msg )