Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

How to programmatically change the page. #92

Open
TheBranchDriftCatalyst opened this issue Sep 27, 2017 · 0 comments
Open

How to programmatically change the page. #92

TheBranchDriftCatalyst opened this issue Sep 27, 2017 · 0 comments

Comments

@TheBranchDriftCatalyst
Copy link

TheBranchDriftCatalyst commented Sep 27, 2017

Have a tree grid that has a single page. Update dataset to have multiple pages. Scroll to other pages. Change dataset back to a dataset that only has 1 page. The grid is stuck in a blank state where it can't render rows because it is on page 2 when only 1 exists.

The variables options.paging.offset does not propagate downward into the data-table controllers at all. Furthermore, pretty much nothing propagates down correctly due to all these custom watchers. The entire component set does not use any angular data propagation at all instead relying on custom watchers.

How do I programmatically change the page? I have created a fork of this component and added custom events to the pager.controller, body.controller, datatable.controller. Nothing works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant