Booleansetting.async.enable

Overview[ depends on jquery.ztree.core js ]

Set zTree asynchronous loading mode is turned on or off.

Default: false

Boolean Format

true - turn on asynchronous loading mode

false - turn off asynchronous loading mode

If set it is true, you must set attributes in setting.async

If you don't pass 'treeNodes' parameter when initialize zTree, the root nodes will get by ajax.

Examples of setting

1. Turn on asynchronous loading mode

var setting = {
	async: {
		enable: true,
		url: "http://host/getNode.php",
		autoParam: ["id", "name"]
	}
};
......