EasyUI Forum
September 13, 2025, 02:24:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datetimebox creation  (Read 7781 times)
amir-t
Newbie
*
Posts: 48


View Profile
« on: August 28, 2014, 01:47:01 AM »

hey,
the creation of an empty(with no events or formatters) datetimebox take around 100 miliseconds
as you can see in the following fiddle:
http://jsfiddle.net/kmqg8r8r/1/

is there somthing we can do?

thx Smiley

Logged
eliraz
Newbie
*
Posts: 12


View Profile Email
« Reply #1 on: September 01, 2014, 10:32:44 AM »

i inspected easy ui code and found out that when they create dateTimeBox thay create the calendar,spinner and the time box before we pressed the button to show to calendar.
if they will create this on demand only when user click the calendar button the performance is improved to 20ms instead of ~100ms.

i have made this change and it works, if one of the developers will contacts me in private i will send you the modified code for you to observe Smiley
tnx in advanced eliraz.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!