combining hover and expanded rows
See original GitHub issue“hover” attribute turns on bootstrap hovering also on expanded rows which doesnt look nice.
ive solved it with
<BootstrapTable
hover = false;
classes = "mytable-hover";
rowClasses = "mytable-hover-row";
Which wont add “mytable-hover-row” on expanded rows (consciously?)
Then in css
.mytable-hover > tbody > tr.mytable-hover-row:hover {
background-color: rgba(0,0,0,.075);
}
Now its OK, but i dont know if this will be working in future versions…
Any idea how could it be solved for future?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Hover over a row and affect the same "n" row of other tables
Update 1: I have been to fast. The idea only would work if you hover a div-table-row in the first div-table and highlight...
Read more >Expandable Sections Within a CSS Grid
I love how, with just a few lines of code, we can achieve fully ... In this article, I'll combine three one-line CSS...
Read more >Table row, Thumbnails expand on hover - CodePen
1. <div class="table-container"> ; 2. <h1>Browse campaigns</h1> ; 3. <div class="campaign-filters cf"> ; 4. <div class="left">Hover any campaign to view more info.
Read more >Handling Hover, Focus, and Other States - Tailwind CSS
Using utilities to style elements on hover, focus, and more. Every utility class in Tailwind can be applied conditionally by adding a modifier...
Read more >How to Create an Expanding Hover Effect for Your Grid ...
You can also choose to expand the grid to the left or right. Simply organize your modules and then update your row's custom...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

expandRow = {className: “no-hover”} now creates:
<tr><td class="reset-expansion-style no-hover" colspan="5">...could it be possible to update<tr>class instead of<td>?i resolved this issue i have added below logic it willl working fine render() { parentThisObject = this; var icon = document.querySelectorAll(‘.expand-cell’) for(var i=0;i<icon.length;i++){ if(icon[i].textContent==“(+)”){ icon[i].style.cursor=‘pointer’ } } }