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

How to hide Sort indicator for a sorted column

1 Answer 337 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sandeep
Top achievements
Rank 1
Sandeep asked on 11 Jun 2013, 04:09 PM
Hi,

We are sorting our columns only during Grid load and are using XAML to sort the Grid (see below). We have disabled runtime column sorting. But we don't want to show Sort indicator as this is not looking nice on UI (please see UI snapshot).

XAML Snippet:-

ColumnDefinition:-

 

<telerik:GridViewDataColumn Header="Ccy" DataMemberBinding="{Binding CurrencyBucket}" Width="50"

 

ColumnGroupName="Filler2" />

SortDescription:-

 

<telerik:ColumnSortDescriptor Column="{Binding Columns[\CurrencyBucket\], ElementName=CcySummaryGrid}"

 SortDirection="Ascending" />

 

 

 

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 12 Jun 2013, 06:23 AM
Hello Sandeep,

You can edit the template of GridViewHeaderCell and remove the whole sorting indicator from it. Take a look at this article for more information. 

Regards,
Maya
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or