# others:special_characters_in_dhtmlxgrid [DHX documentation]

DHTMLX Docs & Samples Explorer

Index
others

## Special Characters in dhtmlxGrid

By default grid takes all incoming data as HTML, so it will convert any HTML special chars ( < > &amp; characters included )

To resolve such problem, the grid supports “pure” text excell. Pure text excell editors (unlike the default ones) don't allow to put any HTML content inside them, due to their capabilities any special characters are modicification proof and correctly editable.

The following are the “pure text” cell types:

rotxt - read-only text excell edtxt - single line editor text excell txttxt - multi-line text editor corotxt - text only selectbox

      mygrid.setColTypes("rotxt")
      ...
      mygrid.addRow(1,"<&amp;>"); // will render text correctly