Home Forums WPF controls Xceed DataGrid for WPF remove sortfunction in columnheader

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24813 |

    Hello,

    I am looking for… to remove the sortfunction (for columns) in the columHeader.
    Does anyone have an idea?
    thanks for all regards.

    Imported from legacy forums. Posted by Marc (had 580 views)

    User (Old forums)
    Member
    Post count: 23064

    To disable sorting of all columns you can set the AllowSort of the ColumnManagerRow to false.

    <Style TargetType=”{x:Type xcdg:ColumnManagerRow}”>
    <Setter Property=”AllowSort” Value=”False”/>
    </Style>

    Not sure how to remove sorting for specific columns

    Imported from legacy forums. Posted by Derek (had 331 views)

    Xceed Support
    Member
    Post count: 5658

    http://doc.xceedsoft.com/products/XceedWpfDataGrid/Sorting%20Data.html

    refer to example 2

    Imported from legacy forums. Posted by Marcus [Xceed] (had 248 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks for this Post.

    That was I was looking for.

    Imported from legacy forums. Posted by Marc (had 3726 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.