I am seeing an issue with the Kendo Responsive Panel component. There is a Kendo Menu inside the responsive panel, but when displaying the horizontal menu its showing horizontal and vertical scroll bars when hovering over the menu item that says Foo, and also its not showing the menu group item since the height of the responsive panel is limited to the initial height of the horiontal menu. I am using Kendo UI jQuery R2 2020. The code I have is as given below. The dojo sample can be seen at https://dojo.telerik.com/@sun21170/uPisoRoW
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Kendo UI Responsive Panel is scrolling for a menu inside it</title>
<link rel="stylesheet" href="Styles/kendoUIMVC/kendo.common.min.css">
<link rel="stylesheet" href="Styles/kendoUIMVC/kendo.rtl.min.css">
<link rel="stylesheet" href="Styles/kendoUIMVC/kendo.moonlight.min.css">
<link rel="stylesheet" href="Styles/kendoUIMVC/kendo.mobile.all.min.css">
<script src="Scripts/kendoUIMVC/jquery.min.js"></script>
<script src="Scripts/kendoUIMVC/kendo.all.min.js"></script>
</head>
<body>
<nav id="nav1">
<button class="k-button" id="btnMenuToggle" data-role="button" role="button" aria-disabled="false" tabindex="0"><span class="km-icon km-drawer-icon"></span></button>
<div id="sidebar">
<ul id="mainMenu"></ul>
</div>
</nav>
<script>
$(document).ready(function() {
$("#sidebar")
.kendoResponsivePanel({
breakpoint: 769,//have this more than 768 since if its 768 then responsive panel will not display at screen width >= 768 rather than screen width > 768
orientation: "left",
toggleButton: "#btnMenuToggle"
})
.children("#mainMenu").kendoMenu({
orientation: ($(window).width() > 768 ? "horizontal" : "vertical"),
direction: "bottom left",
dataSource: [
{
text: "Foo", items: [
{text: "Qux ddsd sdsdsd dsdsd sdddsdds sdsdsd dsdsdsdsd zzz"},
{text: "Hi Abc! ddsd sdsdsd dsdsd sdddsdds sdsdsd dsdsdsdsd zzz"},
{text: "Hi Klm! ddsd sdsdsd dsdsd sdddsdds sdsdsd dsdsdsdsd zzz"},
{text: "Hi Xyz! ddsd sdsdsd dsdsd sdddsdds sdsdsd dsdsdsdsd zzz"}
]
},
{text: "Bar"}
]
});
});
</script>
</body>
</html>I have a form on which there is checkbox control. For some reason the kendo validator always considers the checkbox a required field and considers a non-checked state as invalid. How can I get the validator to ignore the checkbox? As you can see, the field, IsTerminated is not marked required.
<form id="frmEmployee" method="post">
<div class="control-grid">
<div class="col-1-label">
@Html.LabelFor(m => m.Id, "Employee Id: ")
</div>
<div class="col-1-control">
@Html.Kendo().TextBoxFor(m => m.Id).HtmlAttributes(new { @readonly = "", @required = "", @validationMessage = "Id is required" })
</div>
<div class="col-2-label">
@Html.LabelFor(m => m.FirstName, "First Name: ")
</div>
<div class="col-2-control">
@Html.Kendo().TextBoxFor(m => m.FirstName).HtmlAttributes(new { @required = "", @validationMessage = "First Name is required" })
</div>
<div class="col-3-label">
@Html.LabelFor(m => m.LastName, "Last Name: ")
</div>
<div class="col-3-control">
@Html.Kendo().TextBoxFor(m => m.LastName).HtmlAttributes(new { @required = "", @validationMessage = "Last Name is required" })
</div>
<div class="col-1-label">
@Html.LabelFor(m => m.MiddleName, "Middle Name: ")
</div>
<div class="col-1-control">
@Html.Kendo().TextBoxFor(m => m.MiddleName)
</div>
<div class="col-2-label">
@Html.LabelFor(m => m.PreferredName, "Preferred Name: ")
</div>
<div class="col-2-control">
@Html.Kendo().TextBoxFor(m => m.PreferredName)
</div>
<div class="col-3-label">
@Html.LabelFor(m => m.Email, "Email: ")
</div>
<div class="col-3-control">
@Html.Kendo().TextBoxFor(m => m.Email).HtmlAttributes(new { @required = "", @validationMessage = "Email is required" })
</div>
<div class="col-1-label">
@Html.LabelFor(m => m.HireDate, "Hire Date: ")
</div>
<div class="col-1-control">
@Html.Kendo().DatePickerFor(m => m.HireDate).HtmlAttributes(new { @required = "", @validationMessage = "Hire Date is required" })
</div>
<div class="col-2-label">
@Html.LabelFor(m => m.IsTerminated, "Terminated: ")
</div>
<div class="col-2-control">
@Html.Kendo().CheckBoxFor(m => m.IsTerminated)
</div>
<div class="col-3-label">
@Html.LabelFor(m => m.TerminationDate, "Termination Date: ")
</div>
<div class="col-3-control">
@Html.Kendo().DatePickerFor(m => m.TerminationDate)
</div>
<div style="display: none;">
@Html.Kendo().DatePickerFor(m => m.CreatedDate)
</div>
</div>
</form>
On page load I have:
$(document).ready(function ()
{
$("#frmEmployee").kendoValidator();
});
And before I submit my data to the server I have a check:
let validator = $('#frmEmployee').kendoValidator().data('kendoValidator');
if (validator.validate())
{
// ...
}validator.validate() always returns false if IsTerminated is not checked. IsTerminated is a non-nullable bool.
I am trying my first steps using jQuery and Kendo in WordPress.
It would be really helpful to get some advice on the following:
Thanks!
I am trying to virtualize a Kendo UI JQuery list view with local data.
I also made my own Dojo here but it doesn't work. The problem with mine is that it is still creating all of the items, not just the first 5. Any idea how to fix this?
Description: We have encountered an issue with the Kendo UI FileManager component related to drag-and-drop uploads and the navigation bar.
Issue Details:
Steps to Reproduce:
Expected Behavior:
Attached Video: A video demonstrating both issues have been attached for reference. It shows how the file is uploaded twice during drag-and-drop and how the navigation bar fails to navigate properly.
Attached Source Code: I have also attached my JavaScript and controller upload source code for reference. This will provide additional context for the implementation and may help in identifying the root cause of the issues.
Reference:
Hi,
I have the Scheduler (Day View), I need to show my time slots (I will get it from API) in the header.
I need to show them in the header :
This API Response :

Hello,
I have a kendo grid created from an HTML table like this:
<div class="content">
<table id='k-grid'>
<thead>
<tr>
<th data-field="my_value1">Title 1</th>
<th data-field="my_value2">Title 2</th>
</tr>
</thead>
</table>
</div>I need to update its toolbar at runtime with setOptions in another file and I can't modify the grid setup.
So I did :
const options = kendoGrid.getOptions();
if (!options.toolbar) {
options.toolbar = [];
}
options.toolbar.push(
{ template: `<div class='vr'></div>` },
{ template: `<select id='my-selector'></select>` }
);
kendoGrid.setOptions({ toolbar: options.toolbar });
But when I refresh the Grid using setOptions, the columns titles are lost and take the value of the data-field attributes.
I know this is expected behavior with reference to the setOptions documentation and the init from Table - documentation.
My goal is to make updating the toolbar completely transparent to creating the grid in order to reuse it on any table without breaking it.
How can I keep the data in the original HTML table and apply it to the newly created grid with setOptions please?
This is my code
1. I want to export master & its related child record to excel and its working fine if i didnt use grouping. but whereas if i add grouping, then its not working.
2. Also how to remove the header in child records while exporting to excel.
Expecting your help.