-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
(Logging some features discussed during the hackaton, which are not currently available at least to my knowledge)
Use case: read totalCount and use it for some pagination control. This is how we usually do it using angular httpclient:
this.http.get(this.context.source + '/germplasm', {
params: {
studyDbId: this.context.studySelected.studyDbId,
page: (this.page - 1).toString(),
pageSize: this.pageSize.toString(),
}
}).subscribe((res: any) => {
this.germplasm = res.result.data;
this.totalCount = res.metadata.pagination.totalCount;
});Metadata
Metadata
Assignees
Labels
No labels