ComboBox(下拉列表框)通过url加载调用远程数据

xiaoxiao2021-02-28  86

ComboBox(下拉列表框)

ComboBox(下拉列表框)常用属性: valueField: 基础数据值名称绑定到该下拉列表框。— 提交值 textField:基础数据字段名称绑定到该下拉列表框。—显示值 url:通过URL加载远程列表数据。 mode:定义了当文本改变时如何读取列表数据。设置为’remote’时,下拉列表框将会从服务器加载数据。当设置为“remote”模式时,用户输入将被发送到名为’q’的HTTP请求参数到服务器检索新数据。

方法: clear:清除下拉列表框的值。 select:选择指定项。 setValue:设置下拉列表框的值。 setValues:设置下拉列表框值数组。

<input name="storeuuid" class="easyui-combobox" data-options=" url:'store_myList', valueField:'uuid', textField:'name' " />
转载请注明原文地址: https://www.6miu.com/read-47106.html

最新回复(0)