I am working on Angular 5 application and I got class with following data structure, that I need to display in template, possibly using Angular Kendo UI Grid if not then sample to display in format
I got following class data in json
export class MyClass{
ConsultationId: string;
ResponseType: {
id: string;
Name:string;
};
TotalResponses: string;
TotalNewResponses:string;
TotalReviewResponses:string;
TotalCompletedResponses:string;
responsesAbstract: {
ResponseId: string;
ConsultationId: string;
ResponseTypeId:string;
RespondentId:string;
ResponseCurrentStatus:string
}
}
screen shot of json data
In attempt to print ResponseType Name by {{MyClass.ResponseType.Name}} but Angular didn't recognise it

myClass: MyClass;? Then you only have to call{{myClass.ResponseType.Name}}in your HTML