The text in dhtmlxGrid.


Hi team

I want to set my text which has the following property , how should I set up it?
 
readonly
HTML allowed
Enter can be displayed
 
thanks.

readonly
You can use “ro” eXcell type
>>HTML allowed
Any html can be stored inside CDATA into xml:
<cell><![CDATA[

Some text

Anothe some text

]]></cell>
>>Enter can be displayed
You can use “txt” eXcelly type. But in this case cell will be editable and html is not allowed (it will be displayed as plain text).


Now I use the “txt” in my grid.



If the records of my DB table contains the following content



ACT{



      abcde;



      12345,67890;



      123          456;



      a b;



}



 



It will be displayed like this .



ACT{



      abcde;



      12345,67890;



      123 456;



      a b;



}

The number of spaces between 123 and 456 are displayed as a space and the   is also displayed as a space .
 
Could you tell me how to solve the problem. thank you.

Please check what symbols are between 123 and 456 at your database.

The symbols between 123 and 456 at my database art "          ".

Try to use “txttxt” eXcell type. In this case grid will not convert special characters.


Thanks a lot. I have cleared the problem with “txttxt” eXcell type.



but the ENTER key will be not displayed with using “txttxt” eXcell type.



For example.There are some symbols at my database like this.



ACT{



    記事化コマンド,ABCDEFG;
    記事化コマンド,ABC        DEFG;
    123;




It will be displayed like this



ACT{    記事化コマンド,ABCDEFG;    記事化コマンド,ABC        DEFG;    123;}



 



Thanks.