I got following grid definition :
<telerik:RadGridView x:Name="RssFeedsGrid" ItemsSource="{Binding RssFeeds}" AutoGenerateColumns="False" IsReadOnly="False" IsBusy="{Binding IsBusy}" ShowGroupPanel="False" Grid.Row="0" CurrentItem="{Binding CurrentRssFeed, Mode=TwoWay}" telerik:RadDragAndDropManager.AllowDrop="True" BorderThickness="0" Padding="0" Margin="0" DataLoading="RssFeedsGrid_DataLoading" Background="Transparent" ></telerik:RadGridView>It's bound to a viewmodel that is a singleton using following code:
this.DataContext = ViewModels.ExqiRssFeeds.RssFeedsParentViewModel.Instance;
The collection RSSFeeds is defined as follows:
public QueryableDomainServiceCollectionView<ExqiFramework.Shell.Web.RssFeed> RssFeeds { get { return this._rssFeeds; } set { _rssFeeds = value; this.OnPropertyChanged("RssFeeds"); } }Data for RssFeeds is loaded using following code:
EntityQuery<ExqiFramework.Shell.Web.RssFeed> getRssFeeedsQuery = this._ExqiPresenterDomainContext.GetRssFeedsSortedQuery();
this.RssFeeds = new QueryableDomainServiceCollectionView<ExqiFramework.Shell.Web.RssFeed>(this._ExqiPresenterDomainContext, getRssFeeedsQuery);
All of this works for loading data, but when i apply a filter to any of the columns, nothing happens.
Am i missing something?
Do i need to handle myself the filtering events and if so how do i do that with a viewmodel?
Best Regards,
Peter