Page 1 of 1

Colorizing repeated values

Posted: Sat Mar 23, 2024 9:51 am
by Cat

hello everyone

I have a multiple field separated by "," and I would like to know what possibility there is of colorizing the text repeated throughout the table for that field, example:

record 1 field: 1010, 2020, 3030
record 2 field 1010, 4050

The field to highlight would be 1010 because it is located in record 1 and record 2


Re: Colorizing text

Posted: Sat Mar 23, 2024 10:35 am
by arbei

You may Row_Rendered server event to check the field value (i.e. $this->MyField->DbValue) , save the value in array stored in global or session variable, then you split your value and compare the value with previously saved values, and add your HTML to colorize the repeated data.