Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by veronica on Jun 12, 2008 06:20
open dhtmlx forum
updateFromXML() not working in pro 1.6

for previous version is use the following code
function loadSearchResult()
{    
    searchGrid.updateFromXML(url);
}

it work perfect.

Now when i migrated to pro version it's not working for code mention above...then i chaged it to as follows still is not giving new rows .

var initLoad = true
function loadSearchResult()
{    
                
    var url = "someURL?" +params+"&uid="+(new Date()).valueOf();
    
    if(initLoad){
        searchGrid.loadXML(url);
        initLoad = false;
    }else{
        alert("inupdate"+url);
        searchGrid.updateFromXML(url);
    }    
    
    
}
Answer posted by Support on Jun 12, 2008 07:34
Please contact us directly at support@dhtmlx.com - we will send you an updated version of dhtmlxgrid.js where issue resolved
The latest build which can be downloaded from dhtmlx.com already contains necessary fix, but if you downloaded initial version of release - it may contained regression in updateFromXML method
With latest codebase, both loading methods, described above, will work correctly.