I use the formatter function in Datagrid to acomplish a visibility on NULL values like so and in the picture.
toPush['formatter'] = function (value, row, index) {
if (value === null) {
return '<span style="background-color:rgba(255,255,0,0.2);">NULL</span>';
} else {
return value;
}
};
The row gets edited via a Propertygrid witch also inherits the formatter function from Datagrid. However NULL values are not any longer formatted by Propertygrid. How can I accomplish this formatting in Propertygrid?