Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by YaWen on Oct 20, 2008 05:01
open dhtmlx forum
Extra blank lines

Hi,

The grid on the screen of a cell to display the data
111,
222,
333
The data will be saved to the DB,after again enter the picture ,
show data
111,

222,

333
I would like to ask how to delete extra blank lines?

Answer posted by Support on Oct 20, 2008 07:55
The issue can be caused by your server side formatting.
The possible scenario is:

 1) the value in the database is:
   
    111,222,333
2) you generate xml with formating:
<cell><![CDATA[111,<br/>222,<br/>333 ]]></cell>
3) after saving data the value in the database is:

    111,<br/>222,<br/>333
4) And when you reloaded page, the xml returned:
<cell><![CDATA[111,<br/><br/>222,<br/><br/>333 ]]></cell>

So, please, check if the server-side formatting is  correct.