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

setXMLAutoLoadingBehaviour

defines the mode of passing to the server the id of an item for which the data should be loaded during dynamic loading

void setXMLAutoLoadingBehaviour(string|number|function mode);

Parameters

modestring|number|functionmode of passing the item's id to the server (see the details)

Available only in PRO Edition

Example

tree.setXMLAutoLoadingBehavior("function");
tree.setXMLAutoLoading(function(id){
    tree.load("some.php?id="+id)
});

Related samples

Details

Possible mode values are:

  • id (default) to pass "some_script?id=item_id"
  • function for calling a user-defined handler to configure data loading
  • name to pass "some_scriptitem_id"
  • xmlname to pass "some_scriptitem_id.xml"
See also
Back to top