Hi all,
I'm currently having a problem to try to change the focus one cell up/down using the key arrows when the focus is on a DatePicker component and it is located inside a Grid. The current behavior is that the focus is on the DatePicker and the up/down arrows change the segment value of the date. (It only changes the day, month or years).
Can you please give an idea how to override this kendo behavior?
Additionally, can you share with me more information about the keyboard navigation inside the DatePickers components?
I read this information DatePicker Component - Keyboard Navigation | Kendo UI for Angular (telerik.com) but it doesn't mention anything about the behavior pressing just the up/down arrows without opening the calendar component.
Thank you in advance.
Here is HTML Code of Date Picker
<input kendo-date-picker="" k-scope-field="dteNewDueDateDate" k-format="'yyyy-MM-dd'" k-on-change="undefined" custom-date="" ng-model="vm.target.newDueDate" required="" ng-class="{ 'is-invalid': (changeDueDateForm.dteNewDueDateDate.$dirty || changeDueDateForm.$submitted) && changeDueDateForm.dteNewDueDateDate.$error.required }" ng-disabled="false" aria-label="New Due Date" name="dteNewDueDateDate" id="dteNewDueDateDate" entity="undefined" field="undefined" config="" class="ng-pristine ng-untouched k-input-inner ng-empty ng-invalid ng-invalid-required" data-role="datepicker" type="text" role="combobox" aria-expanded="false" aria-haspopup="grid" aria-controls="dteNewDueDateDate_dateview" autocomplete="off" aria-disabled="false" aria-readonly="false" aria-invalid="true" style="">
I have Tried this and Similar Solutions but all in Vain. Please help me to find its solution
$(document).ready(function() { // Wait for the document to be fully loaded // Initialize the Kendo UI DatePicker $("#dteNewDueDateDate").kendoDatePicker({ format: "yyyy-MM-dd" // Add any other configuration options you need }); // Set the value after initialization setTimeout(function() { var datePicker = $("#dteNewDueDateDate").data("kendoDatePicker"); var targetDate = new Date('2023-12-04'); datePicker.value(targetDate); datePicker.trigger("change"); }, 100); // Adjust the timeout duration if needed});
So this is the code.
@(Html.Kendo().DatePicker()
.Name("frShift")
.Start(CalendarView.Year)
.Depth(CalendarView.Year)
.Format("MMMM yyyy")
.Value(DateTime.Now)
.Min("01/01/" + Model.StartYear)
.Max("12/31/" + Model.EndYear)
.HtmlAttributes(new { style = "width: 100%;", placeholder = "Select month...", title = "Shift From" })
.Events(e =>
{
e.Change("shiftDemand.updToRow");
})
On local it is opening while on server it is not opening due to date control. If we remove date control then it will load. Please respond.
It is on Local
but once i deploy on QA and PROD server its loading but not opening.
series: [
{
type: "pie",
field: "value",
categoryField: "category",
aggregate: "sum",
padding: 10,
overlay: {
gradient: "none",
},
categoryAxis: {
baseUnit: "months",
maxDivisions: 5,
rangeLabels: {
visible: true,
format: "M"
},
labels: {
format: "d-M"
}
},]
I have developed several widgets based on Kendo UI. For developing each of these widgets, I use a test page loading kendo Ui source files using systemJS. This only loads the required Kendo UI source files from imports and avoids compiling with Webpack or else. I can also easily debug my widgets through Kendo UI code.
Kendo UI v2023.2.606 has broken loading because of:
import { DateInput } from '@progress/kendo-dateinputs-common';
in kendo.datainput.common.js from kendoui.for.jquery.2023.2.606.commercial-source.zip.
Please fix in the distribution files.
I have 2 fields in my form.
the first field is using NumericTextBox to set a year
the 2nd field would be a date picker with date input to select the date, the format would be dd MM
I would like to check if it is possible, onblur of the numeric textbox would set the date-picker selectable dates based on the year entered in the first field
I was looking for css fix for the current date focus on kendo datepicker input, where i found this article in kendo site
https://docs.telerik.com/kendo-ui/knowledge-base/datepicker-auto-change-focus
But the issue is for every month the date is focused.
this is the current month and current date
but when i click next month the same date is showed with box shadow.But i want to focus only the current month and current date
Hi
I'm trying to try to disable all dates except for the last date of the month for a range. I add the range ok but all dates are enabled. I just need last date of month. I'm using Jquery. Is there a way to do this with the datepicker?
$(document).ready(function () { $("#datepicker").kendoDatePicker({ min: new Date(), min: new Date(), format: "MM/dd/yyyy", type: "date", change: function(e) { var value = this.value(); var days = value.getDate(); var d = new Date(); d = value; d.setDate(d.getDate() - days + 1, 0); console.log(d); }, value: "d" }); });