easyui-combotreegrid code example

Example 1: combotree grid jquery

<input id="cc" name="name">$(function(){    $('#cc').combotreegrid({        value:'006',        width:'100%',        panelWidth:500,        label:'Select Item:',        labelPosition:'top',        url:'treegrid_data1.json',        idField:'id',        treeField:'name',        columns:[[            {field:'name',title:'Name',width:200},            {field:'size',title:'Size',width:100},            {field:'date',title:'Date',width:100}        ]]    });});

Example 2: combotree grid jquery

<input class="easyui-combotreegrid" data-options="        width:'100%',        panelWidth:500,        label:'Select Item:',        labelPosition:'top',        url:'treegrid_data1.json',        idField:'id',        treeField:'name',        columns:[[            {field:'name',title:'Name',width:200},            {field:'size',title:'Size',width:100},            {field:'date',title:'Date',width:100}        ]]">