How to hide Sort indicator for a sorted column

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    9 posts
    Member since:
    Dec 2012

    Posted 11 Jun 2013 Link to this post

    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" />

     

     

     

  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 12 Jun 2013 Link to this post

    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.

Back to Top