DHTMLX Docs & Samples Explorer

Index
dhtmlxtoolbar
API Methods

### loadXMLString(xmlString, onLoadFunction)

Required library edition:
Required library file: dhtmlxtoolbar.js

loads data to object from xml string

- xmlString - xml string with data to load
- onLoadFunction - function to call after data will loaded

        var xmlStr = "<toolbar><item id='item_a' text='text_a'/><item id=...";
        toolbar.loadXMLString(xmlStr, function(){
            // code here
        });
        // or
        function doOnLoad(){
            // code here
        }
        toolbar.loadXMLString(xmlStr, doOnLoad);