md-data-table icon indicating copy to clipboard operation
md-data-table copied to clipboard

Highlight the row which the mouse is hovering at

Open hopeng opened this issue 8 years ago • 4 comments

Hi I don't seem to see this option. The row is highlighted on hover when table is enabled for selection. But I want this behavior for non selectable table as well, it's very useful when looking at wide tables. Is it possible? Thanks

hopeng avatar Apr 05 '16 22:04 hopeng

you can add this to your css tbody > .md-row:hover { background-color: #EEEEEE; }

ducaale avatar Apr 28 '16 15:04 ducaale

Thanks! it works perfectly

hopeng avatar Apr 30 '16 09:04 hopeng

Yeah, this was stumping me as well. Yes, the provided solution works perfectly. But if it's so simple, couldn't we have a directive such as md-row-hover to add to the table so that it does this automatically? Or better yet... why doesn't it just do it automatically anyway? Just curious --- it's not a huge thing.

garretwilson avatar Jan 18 '17 16:01 garretwilson

Is there a way to suppress the row highlight on mouse hover even when row selection is turned on?

shennero avatar May 19 '17 20:05 shennero