jquery easyui中的treegrid不显示数据,这样写对不对

kky2010_110 2014-01-17 02:48:52


<script type="text/javascript">
$('#lizhitree').treegrid({
nowrap : false,
rownumbers : true,
collapsible : false,


URL:'treegrid_data_lizhi2.json',
idField : 'id',
treeField : 'name',
columns:[[
{
title : '名字',
field : 'name',
width : 220
},{
title : '大小',
field : 'size',
width : 100
},{
title : '日期',
field :'date',
width : 150
}
]]
});
</script>
<table id="lizhitree" title="Folder Browser" class="easyui-treegrid" style="width:700px;height:250px">
<thead>
<tr>
<th>名字</th>
<th>大小</th>
<th>日期</th>
</tr>
</thead>
</table>


...全文
177 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
kky2010_110 2014-02-12
  • 打赏
  • 举报
回复
解决了,因为一个css出现遮盖现象
tony4geek 2014-01-17
  • 打赏
  • 举报
回复
浏览器调试。看看数据有没?

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧