Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Bell on Jun 24, 2009 14:06
open dhtmlx forum
Multiple Spaces



We are using professional version (latest version) of the grid.


Has anyone experienced this use case:

If a user types in a string into a cell with two (2) spaces, grid eliminates the second space when they hit enter.

Is that something I can control and turn off?



Thanks,


John Bell
Answer posted by Support on Jun 25, 2009 01:37
By default grid process values as HTML ( which cause removing of double whitespaces ) 
To preserve text as is, you need to use text-based cell types, instead of ed , you need to use edtxt column type

http://dhtmlx.com/docs/products/docsExplorer/doc/Handling_special_characters.html#all_art_handlspecchars