Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ng-template pTemplate="emptymessage">
- <tr>
- <td>
- No records found
- </td>
- </tr>
- </ng-template>
- this.myService
- .myHttpCallFunction(params)
- .pipe(
- finalize(() => this.loading = false)
- )
- .subscribe(
- (result: JsendResponse) => this.data = result.data,
- errors => this.errors = errors
- );
- <p-table [value]="data?.data" [columns]="settings.columns" [lazy]="true" [loading]="loading">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement