-
Notifications
You must be signed in to change notification settings - Fork 21
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
Paginator for tables #445
Paginator for tables #445
Conversation
...ect/notes/dashboard-widgets/no-recent-notes-dashboard/no-recent-notes-dashboard.component.ts
Outdated
Show resolved
Hide resolved
# Conflicts: # src/app/child-dev-project/children/children-list/children-list.component.ts # src/app/child-dev-project/children/children.module.ts # src/app/child-dev-project/notes/dashboard-widgets/no-recent-notes-dashboard/no-recent-notes-dashboard.component.ts # src/app/child-dev-project/schools/schools-list/schools-list.component.ts
800289b
to
28fedfb
Compare
Co-authored-by: Sebastian <sebastian.leidig@gmail.com>
src/app/child-dev-project/children/children-list/children-list.component.html
Outdated
Show resolved
Hide resolved
src/app/child-dev-project/children/children-list/children-list.component.html
Outdated
Show resolved
Hide resolved
@@ -19,7 +19,7 @@ export class NotePresenceListComponent implements OnChanges { | |||
@Input() recordForm: NgForm; | |||
smallScreen: boolean; | |||
|
|||
@ViewChild("childSelect") | |||
@ViewChild("childSelect", { static: true }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ViewChild("childSelect", { static: true }) | |
@ViewChild("childSelect") |
}) | ||
export class SchoolsListComponent implements OnInit, AfterViewInit { | ||
schoolList: School[]; | ||
schoolDataSource: MatTableDataSource<School> = new MatTableDataSource< | ||
School | ||
>(); | ||
|
||
@ViewChild(MatSort) sort: MatSort; | ||
@ViewChild(MatSort, { static: false }) sort: MatSort; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ViewChild(MatSort, { static: false }) sort: MatSort; | |
@ViewChild(MatSort) sort: MatSort; |
}) | ||
export class SchoolsListComponent implements OnInit, AfterViewInit { | ||
schoolList: School[]; | ||
schoolDataSource: MatTableDataSource<School> = new MatTableDataSource< | ||
School | ||
>(); | ||
|
||
@ViewChild(MatSort) sort: MatSort; | ||
@ViewChild(MatSort, { static: false }) sort: MatSort; | ||
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator; | |
@ViewChild(MatPaginator) paginator: MatPaginator; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested it locally.
# [2.14.0](2.13.2...2.14.0) (2020-06-27) ### Bug Fixes * prevent error log message about serviceworker not available ([a2eebf9](a2eebf9)) * **dashboard:** improve styling of recent-notes dashboard widgets ([4355ea4](4355ea4)) * **note:** prevent disappearing of children linked in notes ([4aba52b](4aba52b)) * **notes:** add full width to notes table ([7eef007](7eef007)), closes [#457](#457) [#458](#458) * **search:** improve search: loading indication and other hints ([6995476](6995476)), closes [#366](#366) [#456](#456) ### Features * add pagination to tables ([87cddde](87cddde)), closes [#381](#381) [#445](#445) * **conflict-resolution:** view and resolve pouchdb document conflicts ([2a84025](2a84025)), closes [#79](#79) [#393](#393) * **latest-changes:** display changelog based on GitHub Release information ([7226f08](7226f08)), closes [#238](#238)
🎉 This PR is included in version 2.14.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
see issue: #381
Visible/Frontend Changes
Architectural/Backend Changes