I have a RadDataFilter linked to a RadDataGrid which is functioning as desired. I have a RadChartView (Bar Chart) that is a summary of what is being displayed in the Grid. When I click a bar in the bar chart, I am populating the filter with a string that will filter the grid on only the rows that are related to the Bar.
Everything in this scenario is working, in that I get the filter looking correctly, based on the bar I clicked and the grid properly filtering. The issue is that the filter item is DataFilterComboDescriptorItem and it is not displaying the correct value in the dropdown for the item specified. It is basically displaying the last value ever selected, regardless of if I clear the filter.
How is the value of a DataFilterComboDescriptorItem set when a RadDataFilter.Expression is manually assigned which affects that item?
Here is my code:
Building the Filter Nodes Dynamically:
Click Event from the Bar Chart to set the filter: