I set pagination="true" ,
the pager is show , but show all data; and change the page,the data is not refresh, but rownumber is refresh.
the code :
<table id="partdg" class="easyui-datagrid" style="height:500px;"
data-options="rownumbers:true,singleSelect:true,url:'/Part/GetAllPart' " sortName="part_code" sortOrder="asc"
rownumbers="true" pagination="true">
<thead>
<tr>
<th data-options="field:'ck',checkbox:true"></th>
<th data-options="field:'part_code',width:80,sortable:'true'" >物料编码</th>
<th data-options="field:'name_en',width:180,sortable:'true'">英文名称</th>
<th data-options="field:'name_ch',width:180,sortable:'true'">中文名称</th>
<th data-options="field:'spec_en',width:280,sortable:'true'">英文规格</th>
<th data-options="field:'spec_ch',width:280,sortable:'true'">中文规格</th>
</tr>
</thead>
</table>