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

Grid sort arrow wont hide

2 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vladimir
Top achievements
Rank 1
Vladimir asked on 31 Jul 2012, 07:04 AM
Hi

I am using RadGrid with client side binding.  I have 2 issue acording to default sortexpressions.

1. I have defined the sortexpressions to sort default by Date. When user clicks other column it is sort by the new column but the arrow near Date column is not hidding. I need to click several times to the Date column to hide the arrow, then everything works great.

2. The sortexpression gives the column the rgSort class and it changes the color of the column, but when I click to another column the color is not changing to new column. If I dont have defined sortexpressions the color change wont appear at all.

Thanks

Vitalij

2 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 03 Aug 2012, 07:26 AM
Hello Vitalij,

Please note that using default SortExpressions with client-side binding is not supported. You can find an explanation and a possible approach to achieve default sorting in client-side bound grid here:
http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding-specifics.html (see the Client side data-binding limitations section)

Greetings,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vladimir
Top achievements
Rank 1
answered on 06 Aug 2012, 11:53 AM
Hi Tsvetina

Thank you for the reply. But it was actually this link that helped me to achieve my goal: 
http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding-adding-sort-filter-expressions.html 

I somehow overlooked it.

Thanks again

Vitalij
Tags
Grid
Asked by
Vladimir
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Vladimir
Top achievements
Rank 1
Share this question
or