CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to set MinDateTime in JQDateTimePicker

by Davide » 18 Apr 2014 10:00

Hello,

I have a form witha classical period selection (FromDate, ToDate) managed by two JQCGDateTimePicker.
I would like when the FromDate change the ToDate MinDateTime reflect the FromDate DateTime to avoide the user can select an invalid period.
In the OnSelect of the FromDate control I try to set the ToDate MinDateTime property with different values types (float, string, datetime) but none set the MinDateTime value of the ToDate control.

How can I achieve this behaviour ?

Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 21 Apr 2014 17:28

Hi Davide,

To to this, we need fix the issue with properties MinDate and MaxDate.

We will fix it asap.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 22 Apr 2014 14:17

Hi David,

Ok, we fixed/improved the properties MinDate and MaxDate in JQDatePicker to accept the date values.

Code: Select all
2.0.0.3544

JQDatePicker:
- Fixed: properties MinDate and MaxDate when setted the date value

JQDateTimePicker
- Added: the method setter, allow change the options in ajax


For the JQDateTimePicker,
we analyzed these properties (MinDateTime and MaxDateTime) and we conclude that in current version of plugin it is not possible to set the min time.

We will update the plugin asap - created ticket: #345

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQDatePicker

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.