Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by karunakar on Feb 03, 2009 05:11
open dhtmlx forum
column editing

New answer on the question "column editing" was added by Support on Feb 03, 2009 03:43, please visit http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=7706&a=11775">http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=7706&a=11775 to check it.

i handled special charecters , the problem is i inserting new row in DHTMLXGRID by comma separated values .

for example : column value edited from j to J&J , now inserting new row in DHTMLXGRID by comma, separated values

i replaced & by &

grid is showing only j instead of j&J

 

 

 

 

Answer posted by Support on Feb 03, 2009 07:10
The way how & char processed depends on column type
For html based column types - it will be treated as part of entity, so safe way to add it will be 
    grid.addRow(grid.uid(),"1,J&J,3")

If you are using text based column type, you need not use any extra escaping
    grid.addRow(grid.uid(),"1,J&J,3")g

Please check attached sample.
Attachments (1)