Grid - XSS protection

Hi - this question is really about DHTMLXGrid widget.
I am reading grid data of DB table that was inserted by different input mechanisms outside our control. I want to prevent the cell data from being treated as executable code (like XSS).

How do we do that for DHTMLXGrid?

You may use the htmlEnable property:

to prevent the data in cell displaying as html, but display it as a pure text instead.