通过angular 2中的上下文菜单删除剑道网格中的记录后,如何刷新
通过angular 2中的关联菜单删除kendoui网格中的记录后,如何刷新 注意:调用这个delete()方法(Api)后,我想刷新特定的网格通过angular 2中的上下文菜单删除剑道网格中的记录后,如何刷新,angular,typescript,kendo-grid,Angular,Typescript,Kendo Grid,通过angular 2中的关联菜单删除kendoui网格中的记录后,如何刷新 注意:调用这个delete()方法(Api)后,我想刷新特定的网格 Delete() { if (this.Index != null) { this.headers = new Headers(); this.headers.append('Content-Type', 'application/json'); this.Recu
Delete() {
if (this.Index != null) {
this.headers = new Headers();
this.headers.append('Content-Type', 'application/json');
this.RecuNum = '1';
this.http.post('/BizApi/Delete', JSON.stringify(this.RecuNum), { headers: this.headers })
.map(response => response.json())
.subscribe(result => {
//var Deleterec = result[0];
this.router.navigate(['/Home/AListing']);
},
err => console.log(err)
);
this.Products();
}
}
您可以使用
this.router.navigateByUrl('/component',true)代码>你好,Liyaquet Hussain,它不起作用。我想通过使用这个.view.Splice(索引,1)我们可以实现这一点