Formatting (highlighting) a row if a data field contains values

Martin68

Well-known member
Hello,

i'm sorry, i have little experience with html/css and i need a custom-formatting-function (?) which changes the color of line background or the text in the case one field contains special values. want to help the users to identify the rows in a gridview, that cointains work to be done ...

Has anyone solved this task before and could help me with an example?

Kind regards

Martin
 

eugenio

Administrator
Staff member
Hello,
with a custom formatting function you can change the style of the value in the cell, but not the style of the entire row.

Best,
 

Martin68

Well-known member
Hi Eugenio,

thanks for your help, i have realized a function which colors a value red for some content, works well.

I used a font-Tag which i have learned should not used any more. Read about using a css-element (span) which needs a definition before using. Is there any user css-file where i can add my style ?

kind regards

Martin
 
Top