mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 06:02:36 +03:00
Make the data consistent with its display
This commit is contained in:
parent
7c57093519
commit
b0435993fa
@ -79,22 +79,22 @@ example =
|
|||||||
[ Table.view
|
[ Table.view
|
||||||
[ Table.custom
|
[ Table.custom
|
||||||
{ header = header "X"
|
{ header = header "X"
|
||||||
, view = .a >> Html.text
|
, view = .x >> Html.text
|
||||||
, width = px 50
|
, width = px 50
|
||||||
, cellStyles = always []
|
, cellStyles = always []
|
||||||
}
|
}
|
||||||
, Table.custom
|
, Table.custom
|
||||||
{ header = header "Y"
|
{ header = header "Y"
|
||||||
, view = .b >> Html.text
|
, view = .y >> Html.text
|
||||||
, width = px 50
|
, width = px 50
|
||||||
, cellStyles = always []
|
, cellStyles = always []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
[ { a = "Row 1 X"
|
[ { x = "Row 1 X"
|
||||||
, b = "Row 1 Y"
|
, y = "Row 1 Y"
|
||||||
}
|
}
|
||||||
, { a = "Row 2 X"
|
, { x = "Row 2 X"
|
||||||
, b = "Row 2 Y"
|
, y = "Row 2 Y"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user