Hello,
I am displaying the output from a txt file with the following command.
dhtmllayout.attachURL(data.txt, true) .
If I take the second parameter true (AJAX), content of the data.txt is displayed properly (with formatting, newline etc)
If I give “true” as the second parameter to the above function, content of the data.txt is not displayed properly,it is all one messed up paragraph with no newline etc.
Also, I am trying to append to the content of the dhtmllayout so that the user need not scroll down everytime. Please help me with a solution.
Hello
If you use AJAX, it handles all the tags in the document.
dhxLayout.cells(“a”).attachURL(‘txtfile.txt’, true);
If not - you will get a “clean” result
dhxLayout.cells(“a”).attachURL(‘txtfile.txt’);
docs.dhtmlx.com/doku.php?id=dhtm … ttachurl&s[]=attachurl