Posted 04 Dec 2013
Link to this post
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.