EasyUI Forum
May 06, 2024, 02:46:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Custom sorting in DataGrid only sort current page  (Read 9853 times)
catpaw
Jr. Member
**
Posts: 85


View Profile Email
« on: March 18, 2014, 01:39:29 PM »

hello, I have a datagrid like this:

Code:
<table id="dg-name" title="DG TITLE" class="easyui-datagrid" url="get_data.php" toolbar="#tb-name" pagination="true" pageSize="15" pageList="[15,30,45,60]" rownumbers="true" fitColumns="false" singleSelect="true" striped="true" showFooter="true" remoteSort="false" sortName="ColumnName" sortOrder="asc">

The problem is that the sorting happen only in the current page

I missing something?

my version is 1.3.5

Thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 18, 2014, 03:35:37 PM »

To sort on all the pages, you have to enable remote sorting, please try to set remoteSort property to true.
Logged
catpaw
Jr. Member
**
Posts: 85


View Profile Email
« Reply #2 on: March 20, 2014, 08:29:17 AM »

ok thank you
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!