## Stringsetting.data.simpleData.idKey

### 概述[ 依赖 jquery.ztree.core 核心 js ]

节点数据中保存唯一标识的属性名称。[setting.data.simpleData.enable = true 时生效]

默认值："id"

### setting 举例

#### 1. 使用简单 Array 格式的数据

    var setting = {
    	data: {
    		simpleData: {
    			enable: true,
    			idKey: "id",
    			pIdKey: "pId",
    			rootPId: 0
    		}
    	}
    };
    var treeNodes = [
        {"id":1, "pId":0, "name":"test1"},
        {"id":11, "pId":1, "name":"test11"},
        {"id":12, "pId":1, "name":"test12"},
        {"id":111, "pId":11, "name":"test111"}
    ];
    ......