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

sorting using javascript

3 Answers 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Łukasz Kuryło
Top achievements
Rank 1
Łukasz Kuryło asked on 09 Feb 2010, 08:16 AM
Hi.
Could someone show me how to sort a radgrid by column click using javascript (not radajaxmanager).

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Feb 2010, 10:59 AM
Hi  Lukasz,

You can use the sort client side function to sort using javascript . However, this would cause the control to be rebound, thus a call will be made to the server. You can use the RadAjaxManager to ensure client side performance.

Thanks,
Shinu
0
Łukasz Kuryło
Top achievements
Rank 1
answered on 10 Feb 2010, 07:17 AM
Hi Shinu.

I've found this screencast. Is it not really possible to sort a radgrid using js without calling back to the server?
I have a populated radgrid (js+webservice) and now I want to sort the data on the client without using the webservice again.

I need to do it in pure js (my PM require it).
0
Accepted
Tsvetoslav
Telerik team
answered on 11 Feb 2010, 04:44 PM
Hi Ɓukasz,

I am afraid this scenario is not supported. 

Best wishes,
Tsvetoslav
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
Łukasz Kuryło
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Łukasz Kuryło
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or