首页 新闻 会员 周边

关于easyUI的问题

0
悬赏园豆:20 [已关闭问题] 关闭于 2016-10-29 08:26

最近准备学一下easyUI,看官方的示例学着做一个demo,下面JSTL取出来的值时排在上面的th标签后面的,没有在第二行显示,怎么样在第二行显示,以下是代码

<head><br /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><br /> <title>DataGrid Footer Row - jQuery EasyUI Demo</title><br /> <link rel="stylesheet" type="text/css" href="css/easyui.css"><br /> <link rel="stylesheet" type="text/css" href="css/icon.css"><br /> <link rel="stylesheet" type="text/css" href="css/demo.css"><br /> <script type="text/javascript" src="js/jquery-1.8.3.js"></script><br /> <script type="text/javascript" src="js/jquery.easyui.min.js"></script><br /> <style type="text/css"><br /> body{<br /> margin:auto;width:800px;<br /> }<br /> </style><br /> </head><br /> <body ><br /> <h2>移动用户回访调查</h2><br /> <form action="Findtask" method="post"><br /> <table class="easyui-datagrid" title="调查数据" style="width:850px;height:220px" ><br /> <thead><br /> <tr><br /> <th data-options="field:'listprice',width:120,align:'center'">类别</th><br /> <th data-options="field:'listprice',width:120,align:'center'">任务名称</th><br /> <th data-options="field:'listprice',width:120,align:'center'">问卷名称</th><br /> <th data-options="field:'unitcost',width:80,align:'center'">开始</th><br /> <th data-options="field:'attr1',width:80,align:'center'">结束</th><br /> <th data-options="field:'status',width:80,align:'center'">号码分配方式</th><br /> <th data-options="field:'status',width:80,align:'center'">任务是都合并</th><br /> <th data-options="field:'status',width:80,align:'center'">状态</th><br /> <th data-options="field:'status',width:80,align:'center'">备注</th><br /> <c:forEach items="${taskList }" var="tasks" varStatus="status"><br /> <tr><td>${tasks.taskname}</td><td>${tasks.questionnairename}</td><td>${tasks.begintime}</td><br /> <td>${tasks.endtime}</td><td>${tasks.number}</td><td>${tasks.task}</td><td>${tasks.status}</td><br /> <td>${tasks.remark}</td><br /> </tr><br /> </c:forEach><br /> </thead><br /> </table>

坐墙等红杏的主页 坐墙等红杏 | 初学一级 | 园豆:136
提问于:2016-10-10 16:53
< >
分享
所有回答(1)
0

JSTL这跟easyui没关系吧

你自己看看是不是空的~不然为何遍历不出内容

远扬 | 园豆:30 (初学一级) | 2016-10-11 17:06
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册