EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
January 24, 2026, 03:42:52 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
>
Change locale dynamic
Pages: [
1
]
« previous
next »
Print
Author
Topic: Change locale dynamic (Read 3259 times)
jega
Full Member
Posts: 237
Change locale dynamic
«
on:
January 19, 2026, 04:19:34 AM »
Hi
Have an combobox with locale and a datagrid
<input id="countryCode" name="countryCode" class="easyui-combobox" style="width:200px" data-options="
valueField: 'countryCode',
textField: 'countryName',
editable: false,
data:[
{'countryName':'Danish','countryCode':'da'},
{'countryName':'English','countryCode':'en'}
],
onClick: function(rec){
loadLocale(rec.countryCode);
}">
How can i set the language in loadLocale function
Have tried a lot of things, but with no luck.
When i load <script src="easyui/easyloader.js"></script> and use easyloader.locale = 'da' in the document ready, it works, but not in loadLocale.
However, if i load easyloader.js then the datagrid on the site is now without filter. Just remove the script tag then filter is back.
Any help
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...