Skip to Content
0

How to set color for individual rows of a node through UI Designer or ABSL Script?

Jul 31, 2017 at 10:59 AM

111

avatar image
Former Member

I have a requirement to do in Item level whenever we will make indicator as true that time whole row should be change to any color. If anyone know's help me?

color.jpg (93.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Benny Huang Aug 02, 2017 at 08:46 AM
1

Hi K Reddy,

First, need to add a field in datalist of custom BO, as:

[Label("ColorValue")] element ColorValue:LANGUAGEINDEPENDENT_LONG_Text;

Second, need to binding all column "BackgroundColour" to the ColorValue, as:

Then, at the checkbox onClick event add "ClickEventHandler", as:

the "ClickEventHandler" choose the "script", add code, as:

Now, can test the result.

Best Regards,

Benny


background01.png (15.3 kB)
background02.png (20.2 kB)
background03.png (26.7 kB)
background04.png (76.0 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks a lot,

Mr Bin Huang.

0