-
-
Save vipranarayan14/a7fcff3fd0259dbad76916ab4f67c265 to your computer and use it in GitHub Desktop.
td.active{ | |
background-color:red; | |
color:yellow; | |
font-weight:bold; | |
} | |
td { | |
padding:5px; | |
text-align:center; | |
} | |
table, td { | |
border:1px solid black; | |
border-collapse: collapse; | |
} |
This is working great for me all around on one table. One issue I am having is that I have multiple tables on one page behind tabbed accordions. This only seems to apply out to the table on the first tab. Any suggestions for spreading the functionality out to all of the tables?
I have tried to target other tableID, but it does not seem to apply. Another thought would be to just push this functionality to all tables?
Following up on this. Any thoughts here?
Hi! I'm happy to hear that this is helpful to you.
This is working great for me all around on one table. One issue I am having is that I have multiple tables on one page behind tabbed accordions. This only seems to apply out to the table on the first tab. Any suggestions for spreading the functionality out to all of the tables?
If I understand your requirement correctly, tableId can be used to have more than one navigable table on a page.
I have tried it with two tables and it seems to work fine: https://jsfiddle.net/qgLuhfcw/6/
I have tried to target other tableID, but it does not seem to apply. Another thought would be to just push this functionality to all tables?
I don't quite understand the issue you are facing. Can you share your code so that I can help you better?
This is working great for me all around on one table. One issue I am having is that I have multiple tables on one page behind tabbed accordions. This only seems to apply out to the table on the first tab. Any suggestions for spreading the functionality out to all of the tables?
I have tried to target other tableID, but it does not seem to apply. Another thought would be to just push this functionality to all tables?