teradata-covalent

Supplied parameters do not match any signature of call target on api call angular4

痞子三分冷 提交于 2019-12-14 02:24:50
问题 I am consuming an api to Covalent UI, on user service. Which needs to post some data from an endpoint to the table as illustrated on the example from the GitHub. Here is the modification I have made to the service. import { Provider, SkipSelf, Optional, InjectionToken } from '@angular/core'; import { Response, Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { HttpInterceptorService, RESTService } from '@covalent/http'; import { ApiService } from '../../../..

Angular 4.0 Teradata data-table ng-template for all columns

折月煮酒 提交于 2019-12-11 09:21:55
问题 does anybody know if there is a way to apply an < ng-template > for all columns in the < td-data-table > by declaring only one < ng-template > and not one for every column. Something like: <ng-template tdDataTableTemplate="{{columns}}" let-value="value"> <div> <span>{{value.content}}</span> <br> <span *ngIf="enabler">{{value.subcontent}}</span> </div> </ng-template> 来源: https://stackoverflow.com/questions/46483138/angular-4-0-teradata-data-table-ng-template-for-all-columns