Date picker when entering the day or day and month to autofill the content with current year or current month and year, same as asp.net ajax datepicker
Dear support,
I didn't find in your documentation if and how we can use data-* annotations to setup dataInput options of a datepicker.
I would like to do the same thing that the code below does but with MVVM data-* annotation.
self.date= $('#dateExample').kendoDatePicker({ format: 'dd.MM.yyyy', dateInput: true, }).data('kendoDatePicker'); self.date._dateInput.setOptions({ format: 'dd.MM.yyyy', messages: { 'year': 'yyyy', 'month': 'mm', 'day': 'dd' }
I globally use data-bind for html and kendo UI components.
I just added the data-format in my html like below, and it works.
<input data-role="datepicker" id="dateExample" data-format="dd.MM.yyyy" data-bind="value: myValue">
I wonder if we can setup format and messages options for the dateinput of the datepicker with MVVM without using jquery (with something like data-dateinput, data-dateinput-format, data-dateinput-messages...).
Thanks in advance for your usual support.
Regards,
Charline.
Optionally allow for the disabling of Daylight Savings time detection when using the DateTime picker, or to set the TimeZone for the picker manually.
Globalized applications use the DateTimeOffset type instead of DateTime since it includes the offset from UTC for different time zones. If DateTimePicker could bind to this type it would simplify UI development. It would have to have the offset or timezone value provided as either a property or as a second binding.
It would be helpful if when entering a date into a datepicker control you could just type +7 to have it select 7 days from today. Or -5 for 5 days ago. Or if you just type 0, it would select today. Or type 15 and it would select the 15th of the current month. This would make keying in dates much faster than using the calendar.
date picker should allow read only of text box
For the datepicker control, it would be great if it could support relative values for the min and max range like the jQuery datepicker does. For instance, you can set minDate: 0, which is today. Or you can say maxDate: "+6M" for a max date of 6 months from today (as in their documentation: https://api.jqueryui.com/datepicker/#option-maxDate). These generic expressions make it much easier to set restrictions.
when mouse click in a kendoDatePicker, control will auto choose date part at clicked position, and we can use left and right arrow to go to another date part, use up and down arrow to cycle through all possible value of that part, or input number (month name in the case) directly instead
Need a feature to restrict the days to be displayed in the Kendo UI datetime pickers control. For example . I want to only display say dates than falls only on Thursday and Sunday where users can select on that dates and the other dates to be disabled or invincible. I want to have a flexibility to change it to other days as well.
Add the option to be able to highlight today's date in calendar and date pickers.
I want the datetimepicker to pull from the database if a value exists, show nothing if it doesn't, and get the current date and time when user clicks on the calendar icon. It doesn't get the current time. It shows midnight. I can get the datetimepicker to default to today's date (on display) and current time if I don’t try and pull a value from the database.
It would be good if the datetimepicker would allow starting weeks from Monday. This is the standard in certain areas.
Sometimes it's useful to limit users to only selecting a certain day of the week. This is possible with jQuery UI but not, AFAIK with Kendo.
Please take a look at https://github.com/dangrossman/bootstrap-daterangepicker It would be nice to have similar option in DatePicker - to choose range of days.
It would be great if we can have the option to have a multi-month view calendar. Like the one in the asp.net ajax suite. http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/multimonthview/defaultcs.aspx
Provide properties to set min/max time of the DateTimePicker, e.g always shows from 8AM to 5PM of everyday.
Add a multiple date selection to the Calendar. A multiple date selection calendar is very important for professional web applications in many situations. Also, there is a lack of events in the API. It is always important to provide more events then less. Here a few suggestions: Property year; /// Year displayed by control. Property month; /// Month (1 to 12) displayed by control. A method in the API to easily get the selected date(s). A method in the API to easily set the selected date(s). An option to indicate if we allow/disallow multi-selection. A callback event (and passing the data as an argument) when a date is selected/unselected to allow/disallow the selection/deselection (by returning a true/false). This would allow to easy show a warning message when some dates are selected/unselected. We may currently do part of it in the change event but adding events onbefore/onafter selection would be nice. Add the option to hide/show days from previous/next month. Add the option to enabled/disable click from previous/next month. The Year selection on the top should be a combo that allow keyboard input. You may check the Yahoo Calendar event & properties. It will provide a good examples (http://developer.yahoo.com/yui/docs/YAHOO.widget.Calendar.html)
Many calendars have the ability to show a column of ISO week numbers alongside the dates (either to the right or the left). Although it's not a show stopper I have such a requirement in my current project. While other controls offer this there are none I know of which permit custom calculation of the week number - another requirement for this project.