EasyUI Forum
September 14, 2025, 04:00:45 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Use DataGrid, set pagination="true", but pagination is error  (Read 9124 times)
kissmoon
Newbie
*
Posts: 25


View Profile
« on: January 12, 2015, 11:56:06 PM »

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 :
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>
Logged
kissmoon
Newbie
*
Posts: 25


View Profile
« Reply #1 on: January 12, 2015, 11:56:59 PM »

screen copy.
Logged
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« Reply #2 on: January 13, 2015, 07:44:22 AM »

how you set the pageSize? can you show to us?
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
kissmoon
Newbie
*
Posts: 25


View Profile
« Reply #3 on: January 21, 2015, 05:31:03 PM »

no set the pageSize , it use default value.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!