easyui分页滚动条问题
我已经设置了pagination:true,下面也有DataGrid控件底部显示分页工具栏。当前页数,总页数都对,paseSize:10。
为什么我添加11条的时候会向下追加,没有出现滚动条?
这是前端代码:
<table id="dg" title="My Users" class="easyui-datagrid" style="min-width:500px;min-height:250px"
url="${ctx}/studentManagement/json/list"
toolbar="#toolbar"
rownumbers="true"
fitColumns="true"
singleSelect="true"
method='get'
data-options='scrollbarSize:0,pagination:true'
collapsible='true'
>
<thead>
<tr>
<th data-options="field:'id'">Student ID</th>
<th data-options="field:'name'">Student Name</th>
<th data-options="field:'sex',align:'right'">Sex</th>
<th data-options="field:'grade',align:'right'">Grade</th>
<th data-options="field:'classId'">Class ID</th>
<th data-options="field:'courseNames',align:'center'">Cources</th>
<th data-options="field:'enterTime',align:'center',formatter:function(value){
return value==null? '':$.fn.datebox.defaults.formatter(new Date(value));
}">enterTime</th>
</tr>
</thead>