GridViewComboBoxColumn filter not working

2 posts, 0 answers
  1. Francisco M.
    Francisco M. avatar
    1 posts
    Member since:
    Mar 2011

    Posted 24 Apr 2015 Link to this post

    Hello,

     

    The filter os GridViewComboBox column not working propertly.

     This filtering by SelectedValuePath (It should filter by DisplayMemberPath).

    I put the value of SelectedValuePath and it filtered correctly.

     Logically users filtered by DisplayMemberPath.

     

    Solution?

     

    Thanks

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 24 Apr 2015 Link to this post

    Hi,

    Have you configured GridViewComboBoxColumn with ItemsSource or ItemsSourceBinding?

    If you set ItemsSource, then filtering should be already by DisplayMemberPath. It seems you have configured ItemsSourceBinding for your GridViewComboBoxColumn - in that case the values displayed in the column’s filtering control will be the values corresponding to the DataMemberBinding. If you want to have the DisplayMemberPath displayed, then you need to set FilterMemberPath to a property containing the values used as DisplayMemberPath. You can download a run-able project as an example from the SDK repository here

    As a side note, to work more easily with our SDK samples you can download and configure SDK Samples Browser as described in the documentation.


    You can also check the ComboBox Column article on the difference between ItemsSource and ItemsSourceBinding.

    Regards,
    Dimitrina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top