Get Filtered Data

2 posts, 0 answers
  1. Armen
    Armen avatar
    5 posts
    Member since:
    Jul 2011

    Posted 31 Oct 2012 Link to this post

    Hello.

    I am using RadGridView. It is bound to QueryableCollectionView. For example i have 300 records, with page size 30, after flltering the data using excel like filtering I get 120 records, after this need to take all this filtered records and do some action with it. The problem is that I am able to get all the records (QueryableCollectionView.SourceCollection) or records now visible on current page (QueryableCollectionView), but i need to get exact 120.

    Thanks in advance
  2. Armen
    Armen avatar
    5 posts
    Member since:
    Jul 2011

    Posted 08 Nov 2012 Link to this post

    At last I found the solution ))


     IQueryable filteredData = (((QueryableCollectionView)myGrid.ItemsSource).SourceCollection).AsQueryable().Where(((QueryableCollectionView)myGrid
    .ItemsSource).FilterDescriptors)

Back to Top