DHTMLX Docs & Samples Explorer

Index
dhtmlxtoolbar
API Methods

### loadXML(xmlFile, onLoadFunction)

Required library edition:
Required library file: dhtmlxtoolbar.js

loads data to object from xml file

- xmlFile - file with dta to load
- onLoadFunction - function to call after data will loaded

        toolbar.loadXML("file.xml", function(){
            // code here
        });
        // or
        function doOnLoad(){
            // code here
        }
        toolbar.loadXML("file.xml", doOnLoad);