Kendo ui angular 4的剑道ui网格上未显示日期时间数据

Kendo ui angular 4的剑道ui网格上未显示日期时间数据,kendo-ui,grid,Kendo Ui,Grid,angular用户界面和剑道用户界面都是新手 下面是代码,除了开始时间和结束时间以外的所有数据都不会显示在剑道ui网格上。使用Angular 5、剑道ui和ASP.Net Core 2、EF Core。 下面是HTML、ts和示例数据 dailyMachineNotes.component.html dailyMachineNotes.component.ts 导出类dailyMachineNotes{ 公共细分数据:细分数据模型[]; baseURL:字符串; 公共列:ColumnSett

angular用户界面和剑道用户界面都是新手 下面是代码,除了开始时间和结束时间以外的所有数据都不会显示在剑道ui网格上。使用Angular 5、剑道ui和ASP.Net Core 2、EF Core。 下面是HTML、ts和示例数据

dailyMachineNotes.component.html


dailyMachineNotes.component.ts

导出类dailyMachineNotes{
公共细分数据:细分数据模型[];
baseURL:字符串;
公共列:ColumnSetting[]=[
{字段:'machineId',标题:'machineId',类型:'text'},
{字段:'breakDownType',标题:'breakDownType',类型:'text'},
{字段:'notes',标题:'notes',键入:'text'},
{字段:'startTime',格式:{0:yyyy-MM-dd HH:MM},
标题:“开始时间”,键入:“日期”},
{字段:'endTime',格式:{0:yyyy-MM-dd HH:MM},
标题:“结束时间”,类型:“日期”};
构造函数(http:http,@Inject('BASE_URL')baseUrl:string){
this.http.get(baseUrl+'dailyMachineNotes/GetdailyMachineNotes').subscribe(结果=>{
this.breakDownData=result.json()作为BreakDownDataModel[];
},error=>console.error(error));
} 
}
界面列设置{
字段:字符串;
标题:字符串;
格式?:字符串;
键入:“文本”|“数字”|“布尔”|“日期”;
}
细分数据模型.ts

导出常量细分数据模型=[
{“machineId”:1,“细分类型”:“Change1”,
“备注”:测试1,“开始时间”:2018-04-13 09:05:00.000,
“结束时间”:2018-04-13 09:45:00.000,
{“machineId”:2,“细分类型”:“Change2”,
“备注”:测试2,“开始时间”:2018-04-11 08:40:00.000,
“结束时间”:2018-04-11 09:15:00.000}
];

startTime和endTime是SQLIn
breakdownlatamodel
中的日期时间数据类型,
startTime
endTime
是字符串,而不是
Date
对象。能否尝试将这些字符串转换为日期?