Hi,
I am trying to replicate the sample at https://www.telerik.com/kendo-angular-ui/components/grid/data-operations/data-binding/.I am getting the following error highlighted on my VS2017 and during run time:
Argument of type 'null' is not assignable to parameter of type 'GridDataResult'.
the error is occurring because of this code:
export
abstract
class
NorthwindService extends BehaviorSubject<GridDataResult> {
private
BASE_URL:
string
=
'https://odatasampleservices.azurewebsites.net/V4/Northwind/Northwind.svc/'
;
constructor(
private
http: HttpClient,
protected
tableName:
string
) {
super(
null);//this line is causing 'Argument of type 'null' is not assignable to parameter of type 'GridDataResult'
}
Thanks
Madani