Fix a datagrid unit test involving an unset variable.
Review Request #7334 — Created May 25, 2015 and submitted
One of the datagrid unit tests was setting render_context to None when rendering a column. That function assumed render_context would be a valid object. now check before accessing anything in render_context, to make sure it's not None.
Unit tests pass.