Closed may-day closed 6 years ago
Hi,
Tables are supposed to be used like this:
table Styles.None [ ]
[ text "First name" :: List.map (text << .firstName) persons
, text "Last name" :: List.map (text << .lastName) persons
]
I should have probably been better about the docs though :)
The big picture of what I'm trying to do
I'm trying to display tabular data using the
table
element.What I did
Here's a sample view function to illustrate it.
What I Expected To Happen
I expected the the output to be:
What Actually Happened
Why ( i think) it happens
the table function creates a grid with start = (row, col) in mdgriffith/style-elements/4.1.0/src/Element.elm:674
but it is deconstructed as (col, row) in mdgriffith/style-elements/4.1.0/src/Style/Internal/Render/Value.elm:84
same in src/Next/Internal/Model.elm:79
Versions