Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Frank on Jan 21, 2009 19:53
open dhtmlx forum
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 '<font colur = red></font>' also shows.

I must use html , because not all the words are red. so please help me.
Answer posted by Support on Jan 22, 2009 02:15
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.