Search code examples
wpfpopupautofilterxceed-datagridxceed

XCEED wpf DataGrid Autofilter popup - Disable or hook closing event


I am using exceed wpf grid (version 3.6.10159.15470) and I need either disable auto filter for a column or hook the closing (or closed) event. I searched the API and was not able to found how to achive any of these tasks. Can you help me?


Solution

  • In your XAML, you can set the AllowAutoFilter property on the Column to false to disable the AutoFilter for that Column. If you want to set it in code, you can do so like this:

    this.MyDataGridControl.Columns["Column1"].AllowAutoFilter = false; 
    

    I hope this helps!