Share Point 2013,如果下拉值发生变化,如何停止之前的Rest调用? [英] Share Point 2013,How to stop the previous Rest call if drop down value has changed?

查看:72
本文介绍了Share Point 2013,如果下拉值发生变化,如何停止之前的Rest调用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

Share Point 2013,我有一个下拉菜单  with all Share point Groups.If我选择Group 1然后将所有组成员加载到表中。如果我立即将下拉值更改为第2组,我的表仍然会加载第1组成员。

Share Point 2013, I have a drop down  with all Share point Groups.If i choose as Group 1 then load all group members into the table. If i will immediately change the drop down value to Group 2, still my table is loading with the Group 1 members.

我应该如何取消/停止之前的休息呼叫并继续进行当前更改填充表的值?

How should i cancel/Stop the previous rest call and proceed with present changed value to fill the table?

如果可能的话,如果数据更多,可以为标题和滚动条提供好样式的代码。

If possible provide the code with Good styles to header and scroll bars if data is more.

推荐答案

您好

当您将下拉值更改为Group2时,它应该发出另一个请求。

when you change the drop down value to Group2, it should make another request.

如果你想一次打一个电话,我想你可以在调用服务时冻结下拉控件。

If you want to one call at one time, I think you can freeze the drop down control when calling the service.


这篇关于Share Point 2013,如果下拉值发生变化,如何停止之前的Rest调用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆