<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged datetimepicker</title>
<link>https://overflow.efficy.io/?qa=tag/datetimepicker</link>
<description>Powered by Question2Answer</description>
<item>
<title>Datetimepicker Update event is missing (Jquery UI overload)</title>
<link>https://overflow.efficy.io/?qa=1786/datetimepicker-update-event-is-missing-jquery-ui-overload</link>
<description>&lt;p&gt;Dear All,&lt;/p&gt;

&lt;p&gt;for one of my customer I need to block some date in the calendar of a datetimepicker (for a migration).&lt;/p&gt;

&lt;p&gt;Before in Efficy 2012 it was done by using the datepicker of Jquery.Ui (which is not available in Efficy 10). &lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://api.jqueryui.com/datepicker/&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://api.jqueryui.com/datepicker/&quot;&gt;http://api.jqueryui.com/datepicker/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This one allow to catch some events like &quot;beforeShowDay&quot;, the list of days to enable was built in this event.&lt;/p&gt;

&lt;p&gt;for Efficy 10 we are using the Bootstrap dateimepicker :&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Eonasdan/bootstrap-datetimepicker&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Eonasdan/bootstrap-datetimepicker&quot;&gt;https://github.com/Eonasdan/bootstrap-datetimepicker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I look around and it seems there is also an event that we can catch &quot;dp.update&quot; ... I tested it but nothing happened. I only succeed to cache the &quot;dp.change&quot; event.&lt;/p&gt;

&lt;p&gt;Can anyone help with this one to either : &lt;br&gt;
1- explain me how I can replace/activate the Efficy 10 datetimepicker by the Jquery Ui Datepicker ?&lt;br&gt;
2- Or how I can access the dp.update event of the datetimepicker in order to build the list of possible dates&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1786/datetimepicker-update-event-is-missing-jquery-ui-overload</guid>
<pubDate>Fri, 29 Jul 2016 17:06:39 +0000</pubDate>
</item>
<item>
<title>Efficy 2014 - datetimepicker - click on selected date do not execute the expected event</title>
<link>https://overflow.efficy.io/?qa=845/efficy-datetimepicker-click-selected-execute-expected-event</link>
<description>&lt;p&gt;Hello,&lt;br&gt;
In the oppo manager, tools menu, I need to ask a date to user before executing a search fonction.&lt;br&gt;
I've created the below function in the consultToolscmd.js file.This function show the calendar with the date from fDate parameter selected,&lt;br&gt;
the search fonction is executing when I change not when clicking on the selected date.&lt;br&gt;
How can I have this too?&lt;/p&gt;

&lt;p&gt;Thanks and Regrads&lt;br&gt;
Anne&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function CmdaddFromCustom(detail, $button, fDate) {
        var
            dt = new Datetimepicker($button, {
                defaultDate: fDate,
                format:   Model('shortDateFormat'),
                language: Model('language')
            });
        $button.on('dp.change dp.click', function(event) {
        Search('PROJ',format('CallImportMultipleCustom(Project; $0; {entity}; {key}; ' +  event.date.toDelphiDate() + '; Proj)', detail))});
        dt.show();

    }
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=845/efficy-datetimepicker-click-selected-execute-expected-event</guid>
<pubDate>Thu, 15 Oct 2015 07:48:43 +0000</pubDate>
</item>
</channel>
</rss>