for our case, we did the sorting at the back end -
overriding the default behavior of the datagrid
headers when they are clicked and then returning the
pagenated data after sorting. It really is - in
essence - changing the dataprovider of the datagrid
during both page requests and sorting requests. This
however necessiated that we come up with a 'selection
manager' helper class to go with the component. What
this class does is just to remember which items had
been selected and reload/reselect those selections
when the user goes back to that page or in the case of
sorting, when an item in that selection manager is
encountered on a loaded page. But if you are not
dealing with multiple selections then you can do away
with that helper class.
--- Ravindra Wankar <[EMAIL PROTECTED]> wrote:
>
> I've created a DataGrid (with pagination) populated
> from a web service.
> Since not all data is sent back, the Datagrid's sort
> function only sorts
> within the results. How do I add a hook that allows
> me to fetch sorted
> data from the server? Also, is there a better
> out-of-the-box component
> for doing pagination and this?
>
> Thanks
> Ravi.
>
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC