Home Forums WPF controls Xceed DataGrid for WPF Disable sorting for specific columns

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

    Hi,

    First of all, version 1.1 works a way a lot of better. Congratulations and thanks.

    But my question is *old*: Can we disable sorting for specific columns while we still can sort (by clicking column headers) for other columns?

    Reason is that I have a column to display image data and obviously, we can not sort by images.

    Thanks,
    Chinh

    Imported from legacy forums. Posted by Chinh (had 2395 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Chinh, 

    Sorting is activated/deactivated by setting the AllowSort property on the Column class as in:

    <xcdg:Column

                                 AllowSort=”False”/>

     

    You should upgrade your assemblies to the latest version 3.5 in order to have access to this property.

    Imported from legacy forums. Posted by Mohamed [Xceed] (had 537 views)

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