Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Hugo Vinícius Alves Soares on Dec 21, 2007 04:26
open dhtmlx forum
smart rendering and xml initialization

Hello,

I'm writing a page that generate the xml for smart rendering, but, the xml config file to init the dhtmlXGrid is another file. My ask is: how can I use xml config file and generated xml together? I've study the samples, but the only way to use smart rendering is using javascript config. Does anybody have an idea?

Thank's

Hugo Vinícius Alves Soares
Answer posted by Support on Dec 21, 2007 09:09
If you have config in separate XML file it possible as

    grid = new ...
    grid.loadXML("config.xml",function(){
       //called after config loading
       grid.loadXML("data.some");
    })


In such case config xml contain only configuration section, which can include enableSmartRendering executed from afterInit/call tag