Hi,
When I set the filters on the RadGridView programmatic-ally, the icon of the filtered column doesn't update itself. (Even the filtered column doesn't show the filtered data).
In the following code,
The "Country" column get filtered but will not update the icon. The filter pop-up doesn't contain the filtered data.
Is there any way, how we could achieve this.
Thanks,
Kapser.
When I set the filters on the RadGridView programmatic-ally, the icon of the filtered column doesn't update itself. (Even the filtered column doesn't show the filtered data).
In the following code,
The "Country" column get filtered but will not update the icon. The filter pop-up doesn't contain the filtered data.
Is there any way, how we could achieve this.
using System.Windows.Controls; |
using Telerik.Windows.Controls; |
using Telerik.Windows.Data; |
namespace Ticket226810 |
{ |
public partial class Page : UserControl |
{ |
public Page() |
{ |
InitializeComponent(); |
playersGrid.ItemsSource = Club.GetPlayers(); //some data is assigned to the grid |
} |
void OnEnglishOnlyUnchecked(object sender, System.Windows.RoutedEventArgs e) |
{ |
this.playersGrid.FilterDescriptors.Clear(); |
} |
void OnEnglishOnlyChecked(object sender, System.Windows.RoutedEventArgs e) |
{ // The "Country" column get filtered but will not update the icon. The filter pop-up doesn't contain the filtered data. |
this.playersGrid.FilterDescriptors.Add(new FilterDescriptor("Country", FilterOperator.IsEqualTo, "England")); |
} |
} |
} |
Thanks,
Kapser.