Hi,
i want to change the text color of a foreign key column depending on the values of two other columns.
I do this for a bounded column using a client template:
columns.Bound(p => p.CompanyAlternative).ClientTemplate("# if ( LeIdOriginal === LeIdAlternative) { # <div> #= CompanyAlternative # </div> # } else { # <div style='color: rgb(225,0,15);'> #= CompanyAlternative # </div> # } #");
But how can i achieve this for a foreign key?
Thanks
Michael