relvox / iridescence-elm / Controls.Tables

Module to create and manage tables in Elm.


type alias TableData msg =
{ headers : List String
, rows : List (List String)
, rowStyles : List (List (Html.Attribute msg))
, extras : List (Html msg)
, height : Basics.Int
, scrollable : Basics.Bool 
}

The TableData type alias represents the structure of a table with various attributes such as headers, rows, styles, etc.

viewTable : TableData msg -> Html msg

Creates a table view with the specified table data attributes.