Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
Programmatically Create a Filter for FilterMenu
posted

Hello,

I need to set a filter programmatically in XamGrid (13.2.20132.2284). I used code from this help topic http://help.infragistics.com/doc/WPF/2013.2/CLR4.0/ that works OK if AllowFiltering is set to FilterRowTop. However, it does not work if AllowFiltering is set to FilterMenu. What am I missing? I tried adding filters to FilteringSettings.RowFiltersCollection, but that does not have any impact.

Thank you.

Parents
  • 16495
    Offline posted

    Hello Serge,

    Thank you for your post.  


    I have been looking into it. I created a sample application based on your scenario and I could not managed to reproduce the behavior that you have described. I set the Filtering setting of XamGrid to FilterMenu by code behind and it works.  If you are not able to reproduce the issue with the attached sample application, would you please modify it with the functionality, that you are using, so it reproduces the issue. This way I would be able to further investigate this for you and provide you with more detailed information on this matter.

    You can read more details for the filtering in XamGrid from the following link in our on-line documentation:

     

    http://help.infragistics.com/Help/Doc/WPF/2012.1/CLR4.0/html/xamGrid_Filtering.html

     

    Would you please attached the correct link for the approach that you have used.

     

    Looking forward to hearing from you.

    FilterFilterMenu.zip
Reply Children