DataTable highlight row when hover
-
Hi, is there a way to highlight a row in DataTable when hover similar to QList? Thanks.
-
I would also like to know this.
-
You can achieve this in a bit hacky way by using this CSS
// Disable existing highlight .q-data-table td { background: none !important; }
.q-data-table tr:hover { background-color: #efefef; }
This is not an optimal solution, but it should work
-
In latest quasar the below works
<q-table ... table-class="tblData"
.tblData tbody td{ background: none !important; } .tblData tbody tr:hover { background-color: #f6fafe; }