EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 02:31:41 PM
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
>
EasyUI for jQuery
>
Override Combo underlying data value and field
Pages: [
1
]
« previous
next »
Print
Author
Topic: Override Combo underlying data value and field (Read 7594 times)
arma
Full Member
Posts: 110
Override Combo underlying data value and field
«
on:
February 07, 2015, 09:15:29 PM »
Just a trivial question,
How to override valueField and TextField that can be applied globally for all combobox ?
valueField: 'myid',
textField: 'mytext',
Thanks
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: Override Combo underlying data value and field
«
Reply #1 on:
February 08, 2015, 01:54:01 AM »
Please override the combobox default options.
Code:
<script>
$.extend($.fn.combobox.defaults, {
valueField: 'myid',
textField: 'mytext'
});
</script>
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...