-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I have data which spans multiple pages. Per page I am showing 50 records. When i click on grid's column title I am able to sort this 50 records by header. But on the next page I am seeing the 51 to 100 records are not sorted is there any way by which I can sort the next 50 records also?
For example :
I am sorting by column "firstName" I am able to sort first 50 records but when i go to the next page i see the records in unsorted. I would to see the next 50 records also sorted by first name.
<grid> <columns> <column label="First Name" sort="auto(firstName)" /> <column label="Last Name" sort="auto(lastName)" /> <column label="Age" sort="auto(age)" /> <column label="Gender" sort="auto(gender)" /> <column label="Phone Number" sort="auto(phone)" /> <column label="email" sort="auto(email)" /> </columns> <rows> <row self="@{each=results}" value="@{result}"> <cell> <label value="@{result.firstName}" /> </cell> <cell> <label value="@{result.lastName}" /> </cell> <cell> <label value="@{result.age}" /> </cell> <cell> <label value="@{result.gender}" /> </cell> <cell> <label value="@{result.phone}" /> </cell> <cell> <label value="@{result.email}" /> </cell> </row> </rows> </grid> <paging id="detailsPaging" detailed="true" pageSize="50" forward="onPaging=onPagingMethohd" />
Asked: 2012-05-23 10:11:15 +0800
Seen: 90 times
Last updated: May 24 '12