Title: Animation in combo and datetime picker. Post by: A-K on July 19, 2014, 07:46:07 AM Hey, I would like to add animation(like fade or slide effects) to the combobox/combotree/combogrid when the panel is opened and closed and the same to the panel of the
datetime picker. I have searched the forums and the documentations but could not find any help for this. Please any help would be very appreciated! Alon. Title: Re: Animation in combo and datetime picker. Post by: stworthy on July 19, 2014, 05:24:10 PM Please override the $.fn.combo.method.showPanel method to achieve this functionality.
Code: (function($){ Set 'animate' and 'speed' properties for your combo components to define animate effects. Code: <input class="easyui-datebox" data-options="animate:'fade',speed:600,..."> Title: Re: Animation in combo and datetime picker. Post by: A-K on July 20, 2014, 12:02:14 PM Thanks for the quick answer!
Another question, Is it possible to create the effect like the datebox in win 7? I mean when you press on the month it zooms out nicely before it shows all the days in that month and also zooms in when you select a month. https://imageshack.com/i/ez81edf2p Thanks, Alon. |