Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Data Paging for PagerControl #268

Open
SavoySchuler opened this issue Feb 5, 2019 · 3 comments
Open

Proposal: Data Paging for PagerControl #268

SavoySchuler opened this issue Feb 5, 2019 · 3 comments
Assignees
Labels
feature proposal New feature proposal proposal-NewControl This proposal might involve creating a new control team-Controls Issue for the Controls team

Comments

@SavoySchuler
Copy link
Member

SavoySchuler commented Feb 5, 2019

Proposal: Data Paging for PagerControl

Summary

This feature would add server-side data paging for PagerControl to empower the paging UI widget with data paging capabilities to allow for faster implementation and dynamic resizing with state tracking.

Rationale

The problem is that the currently proposed PagerControl is not an end-to-end solution for the complete spectrum of paging scenarios. Among enterprise developers, DataPager is one of the more requested Silverlight controls that has yet to recieve a WPF or UWP port. While the proposed PagerControl is a flexible UI widget, empowering this widget with an optional plug-in for server-side data paging would unlock the full value of this control. An end-to-end solution would enable developers seeking to port Silverlight applications to UWP. Under the current solution, adoption by these developers would be gated by requiring them to write a custom data paging solution to solve for the one our more modern framework lacks. Beyond preventing degredation of experience, out of the box data paging capabilities would unlock the opportunity to add unprecedented value to our paging experience with dynamic resizing of the served view + focus tracking capabilities. XAML islands may also allow this solution to backport to WPF to support our broader developer network.

Functional Requirements

# Feature Priority
1 Automates paging and feeding of data to PagerControl. Must
2 Dynamically adjusts page sizes on resize of PagerControl view area. Should
3 Keeps selected item in view on page resizes by automatically paging to the selected item and updating the PagerControl display appropriately. Should
@SavoySchuler SavoySchuler added the feature proposal New feature proposal label Feb 5, 2019
@SavoySchuler SavoySchuler self-assigned this Feb 5, 2019
@mdtauk
Copy link
Contributor

mdtauk commented Feb 6, 2019

Would this be an extended DataGrid control, or a control which is placed outside of it, but works with it?

@SavoySchuler
Copy link
Member Author

SavoySchuler commented Feb 6, 2019

Hi, @mdtauk! Under the current proposal, it would be the latter of your options. It is still conceptual, but the idea behind this proposal would be to finish building out a modern and componentized version of Silverlight's DataPager in UWP by adding data paging and serving capabilities to PagerControl.

The feature additions mentioned (and I think where the confusion came in) are the modernization effort to create a fluent experience with the full data-to-view story of this control with the following two behaviors:

  • When a PagerControl's associated view is resized, recalculate the new appropriate page size for the view and update PagerControl with new range.
  • If an item in the PagerControl's associated view was selected before the resize and is no longer on the current page, automatically index to the new page of the item to maintain in-view selection.

My apologies if this component of the proposal was unclear!

@SavoySchuler
Copy link
Member Author

I am unassigning myself for now due to lack of community interest. I am intending to resume work on #60 in the foreseeable future and will leave this open for the time being in the case community interest occurs.

@SavoySchuler SavoySchuler removed their assignment Jul 19, 2019
@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
@ranjeshj ranjeshj added the proposal-NewControl This proposal might involve creating a new control label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal proposal-NewControl This proposal might involve creating a new control team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

5 participants