Hello.
I want to make a table that autoamticly changes the row's background color/text color every time the text from the first column changes.
It should look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]aaa
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]aaa
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]555
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]1212
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]1212
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
</tbody>[/TABLE]
Can this be done ?
I want to make a table that autoamticly changes the row's background color/text color every time the text from the first column changes.
It should look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]aaa
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]aaa
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]555
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]1212
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]1212
[/TD]
[TD]row bg color/text color: red
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
[TR]
[TD]tttt
[/TD]
[TD]row bg color/text color: grey
[/TD]
[/TR]
</tbody>[/TABLE]
Can this be done ?