Distinct Filter In Grid View With Server-Side Paging

2 posts, 0 answers
  1. Wilmer
    Wilmer avatar
    1 posts
    Member since:
    Jan 2012

    Posted 20 Apr 2012 Link to this post

    We just converted an application to use the RadDomainDataSource and RadDataPager.
    After doing this, the filter options only show values that exist on the current page instead of a distinct set of values across all pages.Consequently, for a user to filter for records they first have to find a page that actually has that value.

    Is there a way to tell the control to return ALL distinct values for a column along with only the data for the current page?
    I have experimented with the DistinctValuesLoading event, unfortunately doing this will be quite a bit of work and it seems like this should be something the grid is natively capable of.

    Thanks for any input,
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 21 Apr 2012 Link to this post

    Hello Will,

     That is normal, since you only have one page of data on the client. The rest of the data is on the server. You can attach to the DistinctValuesLoading event of the grid and pull all of the relevant distinct values to the client. You can check this online example for a reference.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top