:: pepysDHTMLX :: dhtmlxFolders directly in BODY

I want to have the script with the setings directly in , not in . Can I use something similry with myGrid.init(); from grids? Thanks…

Folders has not any special init command, but you can place your code anywhere on page , wrapped in next way


dhtmlxEvent(“document.body”,“load”,function(){
…any code here…
})

code inside such blocks will be executed only after document loading, without relation to the place on page.

thank you, is working