i agree with Stefan B.
in my project, i have to use lots of
formatter : function(value, row, index){
return htmlEncode(value);
}
to avoid HTML characters
so, why not add a new property on datagrid column, something like
{
title : 'Desc',
field : 'desc',
htmlEncode : true
}