以下拉优先级显示值 [英] to display the values in drop down priority wise

查看:78
本文介绍了以下拉优先级显示值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个下拉列表,其中我有不同的位置,根据这个位置下拉,我已经显示属于相应位置的代理。现在我需要的是..我已经将代理分配到一个位置,所以代理哪个分配应该显示在最后一个下拉。我没有得到如何做到这一点?需要帮助。

I have a drop down in which I have different locations and depending upon this location drop down I have displayed Agents belonging to respective location.Now what I need is..I have allocated a agent to a location,so the agent which is allocated should be displayed last in drop down .I am not getting How to do this?Need help.

推荐答案

这很简单,因为选项显示在按下订单的下拉菜单。因此,如果您想要一个选项作为最后一个,只需将其添加为最后一个。但是如何添加为最后一个的代码取决于代码的其余部分和您想要实现的逻辑。
This is quite simple, since the options are displayed in the dropdown in the order you put them. So if you want to have an option as last one, just add it as last one. But the code for "how to add as last one" depend on the rest of the code and the logic you want to implement.


这篇关于以下拉优先级显示值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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