EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 09:45:19 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
form 内置 _loadCombo 对 multiple 处理的建议
Pages: [
1
]
« previous
next »
Print
Author
Topic: form 内置 _loadCombo 对 multiple 处理的建议 (Read 9036 times)
iamjxc
Jr. Member
Posts: 80
form 内置 _loadCombo 对 multiple 处理的建议
«
on:
September 12, 2014, 08:31:05 PM »
if (c[type]('options').multiple){
// TODO: 如果 val 是字符串不是数组, 则尝试按分隔符分割一下, 因为后台传过来的多个值可能是合并后的字符串
c[type]('setValues', val);
} else {
c[type]('setValue', val);
}
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...