Editting a grid cell with html in side

When I db click the cell to edit, the html shows…

It was a string contains some html . I just want to change some words color, but now the html ‘’ also shows.

I must use html , because not all the words are red. so please help me.

The cell editor can be used in two modes
- html based one - incoming values will be threated as HTML, which allow to use rich formating through HTML tags, but you will see full html content during edit.
- pure text - incoming value will be threated as text, which means - no any rich formatting possible

There is no way to provide value as HTML formated but edit only text part of it.