This is a migrated thread and some comments may be shown as answers.

Client Side Event for Sorting and Sorted

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 16 Jun 2010, 04:24 PM
I'd like to call custom JS functions on Sorting and Sorted.  The grid I am porting from has these two attributes, allowing me to specify functions to run:

SortingClientEvents-ColumnSorting="foo"
SortingClientEvents-ColumnSorted="bar"

I see this page, http://www.telerik.com/help/aspnet-ajax/oncommand.html, which says this will fire for sorting, which is great.  Is there another event for OnCommandComplete?

Basically, sorting should fire a function to notify the user an AJAx call is in progress.  Once the call is complete the notification should be removed. 

Any help on this would be great.

Robert

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 21 Jun 2010, 09:35 AM
Hello Robert,

If you are using Ajax during the sorting you could use the Ajax OnResponseEnd client event for achieving the required functionality.
I hope this helps.


Best wishes,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or