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

[Solved] GridView column sort order indicator

3 Answers 189 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cliff
Top achievements
Rank 1
Cliff asked on 04 Nov 2010, 11:34 AM
Hi,

I am using the Telerik GridView and need to move the column sort order indicator from the top-centre of the column header to the right side so it does not interfere with the column header test.

How can this be done? Do I have to use Expression Blend or is there a property I can set?

Regards,

Cliff.

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 04 Nov 2010, 03:41 PM
Hi Cliff,


The sort indicator is part of GridViewHeaderCell and you can access it trough editing the template of a GridViewHeaderCell, there you can change its position in the way you need. I have prepared an example for you that demonstrates this approach.


Please see the attached project and if you need any further assistance let me know.


Best wishes,
Vanya Pavlova
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
0
Cliff
Top achievements
Rank 1
answered on 04 Nov 2010, 04:10 PM
Hi,

I have run your example and the sort direction indicator is positioned to the right of the column header, but it does not indicate the sort direction, it always indicates an ascending sort.

Do I really have to include around 140 lines of XAML to simply move the sort direction indicator to the right?

Regards,

Cliff.
0
Vanya Pavlova
Telerik team
answered on 04 Nov 2010, 05:31 PM
Hi Cliff,

Unfortunately there is no property, or any other easier way to achieve this result.
Please check the attached project that shows the corresponding sorting order.
Fell free to modify it in the way you need.

If you need any further assistance please let me know.

All the best,
Vanya Pavlova
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
GridView
Asked by
Cliff
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Cliff
Top achievements
Rank 1
Share this question
or