Use initial letters for paging

2 posts, 0 answers
  1. David Liebeherr - rent-a-developer
    David Liebeherr - rent-a-developer avatar
    11 posts
    Member since:
    Dec 2006

    Posted 04 Dec 2013 Link to this post

    Hello,

    Is it possible to show initial letters instead of numbers in the RadDataPager?

    I have a RadGridView where I show a list of contacts (with properties like FirstName, LastName, FullName, Company, etc...).

    I would like to paginate the contacts based on the first letter of the last name instead of a fixed page size and show the initial letter in the data pager instead of page numbers.
    So basically I want to group the contacts by the first letter of the LastName property and be able to select a group in the data pager and then show the contacts of that group in the grid view.
    So all contacts with the same initial letter in the first name should appear on the same "page".

    It would be very nice to also be able to only show those initial letters for which contacts actually exists.

    BTW: I am using a QueryableEntityCollectionView to connect the pager and grid view to a entity framework data context.

    Thank you!

    Sincerely yours,
    David
  2. David Liebeherr - rent-a-developer
    David Liebeherr - rent-a-developer avatar
    11 posts
    Member since:
    Dec 2006

    Posted 04 Dec 2013 Link to this post

    Hello,

    I have found an implementation for this scenario here:
    http://blogs.telerik.com/blogs/10-04-11/implementing-logical-paging-with-raddatapager-for-wpf-and-silverlight.aspx

    It's actually quite simple and straight forward.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top