design-discussion-elm-ui-2 icon indicating copy to clipboard operation
design-discussion-elm-ui-2 copied to clipboard

Attributes for table row

Open jouderianjr opened this issue 6 years ago • 2 comments
trafficstars

As mentioned in https://github.com/mdgriffith/elm-ui/issues/88, I think that make sense to allow the table row attributes, I think it's a very common use case.

Is that in the plan for the elm UI 2.0?

jouderianjr avatar Aug 14 '19 15:08 jouderianjr

Hey!

I think this makes a lot of sense so it'll likely be in 2.0! I haven't taken a look at table in a while, but it's definitely on my list of things to revisit.

mdgriffith avatar Aug 15 '19 12:08 mdgriffith

I have recently switched from manually creating a table with rows and cols, but couldn't get the alignment to work, and having a Element.Table solved that, but then I lost the ability to have mouseenter/leave event handlers on the entire row.

Looking forward to this feature!

I know it's not done but it doesn't seem like you're able to do anything with the table rows beyond clicking them via onRowClick, based off the API in the 2.0.

tankorsmash avatar Dec 10 '21 00:12 tankorsmash