Mark spaces in color

Hi,

I had some inconvenience in data grid viewing.
I know for example that is possible to define color background when the value in cell is NULL. I would like to know if can i define color background for spaces at the end of value "this is the value ".
So, in that case i want to see background color different then is defined for the cell (default white). It will let me know there are some spaces after word value.
Thanks