Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Coloring the Row when the Chech Box is Checked

Avatar

Level 1

How would I be able to fill in the whole row red when the check box is filled. i was able to figure it out for just the check box it self.

if (this.rawValue == "1") {

this.fillColor

="255,0,0";

}

else {

this.fillColor

="255,255,255";

}

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi,

Assuming the checkbox is placed in a cell of the table directly ( not in a subform) then you should be able to call this when you want to change the colour.

this.parent.fillColor = "255.0.0";

Hope this helps

Malcolm

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

Hi,

Assuming the checkbox is placed in a cell of the table directly ( not in a subform) then you should be able to call this when you want to change the colour.

this.parent.fillColor = "255.0.0";

Hope this helps

Malcolm

Avatar

Level 1

Thank you sir that did help and my apologies for a really late responses.