完完全全地用了示例代码
<table title="Folder Browser" class="easyui-treegrid" style="width:700px;height:250px"
data-options="
url: '__PUBLIC__/treegrid_data1.json',
method: 'get',
rownumbers: true,
idField: 'id',
treeField: 'name'
">
<thead>
<tr>
<th data-options="field:'name'" width="220">Name</th>
<th data-options="field:'size'" width="100" align="right">Size</th>
<th data-options="field:'date'" width="150">Modified Date</th>
</tr>
</thead>
</table>
结果竟然无法加载,用的是tp框架,treegrid_data1.json文件也正确引用了,结果如下
<table title="Folder Browser" class="easyui-treegrid" style="width:700px;height:250px"
data-options="
url: '__PUBLIC__/treegrid_data1.json',
method: 'get',
rownumbers: true,
idField: 'id',
treeField: 'name'
">
<thead>
<tr>
<th data-options="field:'name'" width="220">Name</th>
<th data-options="field:'size'" width="100" align="right">Size</th>
<th data-options="field:'date'" width="150">Modified Date</th>
</tr>
</thead>
</table>
结果竟然无法加载,用的是tp框架,treegrid_data1.json文件也正确引用了,结果如下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货