我已经尝试过使用webix树小部件在html代码下面进行操作。如何将自定义的json文件数据转换为webix数据属性?
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Tree View</title>
<script src="./codebase/webix.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="./codebase/webix.css" type="text/css" charset="utf-8">
</head>
<body>
<!-- div id="box" style="width:400px;height:200px;"></div-->
<script type="text/javascript" charset="utf-8">
tree = webix.ui({
// container:"box",
view:"tree",
url:"YYYY.json"
});
</script>
</body>
</html>