EasyUI Forum

General Category => General Discussion => Topic started by: catpaw on March 18, 2014, 01:39:29 PM



Title: Custom sorting in DataGrid only sort current page
Post by: catpaw 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


Title: Re: Custom sorting in DataGrid only sort current page
Post by: stworthy 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.


Title: Re: Custom sorting in DataGrid only sort current page
Post by: catpaw on March 20, 2014, 08:29:17 AM
ok thank you