EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 08, 2025, 09:56:58 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
>
EasyUI for jQuery
>
reusable options?
Pages: [
1
]
« previous
next »
Print
Author
Topic: reusable options? (Read 10998 times)
Ellipsis
Full Member
Posts: 113
reusable options?
«
on:
October 08, 2012, 12:47:47 AM »
We use multiple easyui objects and we are wondering if it's possible to define 'standard' option values, to set to all combogrids for example.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: reusable options?
«
Reply #1 on:
October 08, 2012, 01:12:33 AM »
Please override the default options of combogrid. The code looks like this:
Code:
$.extend($.fn.combogrid.defaults, {
panelWidth: 400,
idField: 'id',
textField: 'name',
...
});
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...