EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 06:29:07 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
>
proxy datebox [solved]
Pages: [
1
]
« previous
next »
Print
Author
Topic: proxy datebox [solved] (Read 4199 times)
devnull
Sr. Member
Posts: 431
proxy datebox [solved]
«
on:
December 08, 2016, 06:30:58 AM »
As every datebox is pretty much identical, ist is possible for them to share the same html panel rather than having dozens of date panels that are identical.
I am on a mission to reduce page size and increase performance as some pages now contain as much as 1MB of code & data.
Many Thanks
«
Last Edit: December 09, 2016, 02:40:42 AM by devnull
»
Logged
-- Licensed User --
jarry
Administrator
Hero Member
Posts: 2264
Re: proxy datebox
«
Reply #1 on:
December 08, 2016, 09:03:43 AM »
The datebox components can share the same calendar. Please look at this example
http://www.jeasyui.com/demo/main/index.php?plugin=DateBox&theme=default&dir=ltr&pitem=Shared%20Calendar
.
Logged
devnull
Sr. Member
Posts: 431
Re: proxy datebox
«
Reply #2 on:
December 09, 2016, 02:40:30 AM »
Great, that works:
Code:
$.extend($.fn.datebox.defaults,{
sharedCalendar: '#calendar',
other defs.....
})
Logged
-- Licensed User --
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...