Home Forums WPF controls Xceed DataGrid for WPF Refresh Distinct Values for AutoFilter

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

    Hi,

    When a user searches via the Filter Row the distinct values don’t update in the AutoFilter Drop down.
    Is there a way to refresh the distinct values?

    Thanks,

    Kieran 

    Imported from legacy forums. Posted by Kieran (had 784 views)

    Fawzi [Xceed]
    Member
    Post count: 722

    Hi kieran,

    The AutoFilterControl and FilterRow are two different controls. While you could set the DataGridCollectionViewSource’s DistinctValuesConstraint property to “Filtered”, to display a column’s DistinctValues which only matches those filters which are applied on AutoFilterControl of other columns. There is no such property which allow to modify the AutoFilterControl’s distinct values depending on the applied values on the FilterRow.

    Imported from legacy forums. Posted by Fawzi [Xceed] (had 530 views)

    dar100111
    Participant
    Post count: 11

    Hi Fawzi! Is there no plan to change this still, or has it been fixed recently? It causes a lot of confusion on the user end. Thanks!

    dar100111
    Participant
    Post count: 11

    Sorry disregard Fawzi. I just saw dv.DistinctValuesConstraint = DistinctValuesConstraint.FilteredWithAllFilters;

    fixes that problem! Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.