Check documentation for the latest version 6.0 of dhtmlxSuite unbind DHTMLX Docs

unbind

unbinds 2 DataStore objects

void unbind();

Example

var data1 = new dhtmlXDataStore({ url:"../data/data1.json", datatype:"json" });
var data2 = new dhtmlXDataStore({ url:"../data/data2.json", datatype:"json" });
 
data2.bind(data1, function(tobj, sobj){
    if (sobj)
        return tobj.id == sobj.id;
});
 
data2.unbind(data1);

Back to top