问题描述
我每一行都有状态,更新状态后(onSaveConfirm)仅需要从屏幕上删除/隐藏行。如果刷新页面,我已经在JSON数据中对其进行了管理。但是为了获得更好的用户体验,我们希望隐藏该行。这是我的代码
$('#overlay_login').show();
var approverType = localStorage.getItem('approverType');
var sendData = {"uid" : event.newData.uid,"notes" : event.newData.notes,"status": event.newData.status,};
this.dataService.approvePOlist(sendData,approverType)
.subscribe(
(data) =>
{
if(data.result=='1'){
event.confirm.resolve(event.newData);
//I want here to delete/hide the row.
//I tried this.onDeleteConfirm(event);here but no luck.
请提出建议。
提前谢谢!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)