I'm working with the kendo Scheduler in the context of a Dynamics 365 (v9) integration. The scheduler is bound to appointment entities. Our original implementation worked with a 2014 version of the Kendo scheduler, but when upgrading to Kendo 2025.2.702, the "all day" integration has changed. In setting the "All Day Event" checkbox in D365:
We do NOT have the appointment rendered in the All Day Slot on the calendar, rather it is rendered as an all day appointment (8-5).
I'm not sure where to put hooks in change that! There is an edit handler coded in (as part of the scheduler configuration) but it is never triggered. Here is the configuration for the Kendo Scheduler:
Not sure where to go next with this.
Thanks!
I am using a scenario where the tooltip shows for each textbox based on its title property, but the tooltip is not showing the correct message probably because the kendo ui library is changing it.
When you click the Submit button, then the title of each textbox is being set based on whether the textbox has a missing value. After clicking Submit button, if you focus into any textbox you will see that its title is set to empty string. I am showing the latest values of the title of each textbox on load event and also on focus, mouseenter and blur of each textbox.
The code sampe is at https://dojo.telerik.com/CZauQXvf
I have two questions.
Hi,
I am using Font Awesome in my website, and i use kendo.drawing.drawDOM to export the content of browser to save as PDF.
I have no issue when using Font Awesome v6.x, but after upgrade to v7, it throws exception as below:
Uncaught Error: Table loca not found in directory
at Directory.readTable (kendo.all.js?v=MqxEUy3L2C5M1NNIrnRwFVhryZ5lhiNwICBm4cSuw5c:42392:19)
at TTFFont.parse (kendo.all.js?v=MqxEUy3L2C5M1NNIrnRwFVhryZ5lhiNwICBm4cSuw5c:43552:25)
at new TTFFont (kendo.all.js?v=MqxEUy3L2C5M1NNIrnRwFVhryZ5lhiNwICBm4cSuw5c:43544:18)
at kendo.all.js?v=MqxEUy3L2C5M1NNIrnRwFVhryZ5lhiNwICBm4cSuw5c:43844:32
at XMLHttpRequest.<anonymous> (kendo.all.js?v=MqxEUy3L2C5M1NNIrnRwFVhryZ5lhiNwICBm4cSuw5c:43823:21)
$(document).on({
"click": function (e) {
e.preventDefault()
// Embed external fonts into pdf
kendo.pdf.defineFont({
"Font Awesome 7 Brands":
"/fonts/FontAwesome/fa-brands-400.ttf",
"Font Awesome 7 Free":
"/fonts/FontAwesome/fa-regular-400.ttf",
"Font Awesome 7 Solid":
"/fonts/FontAwesome/fa-solid-900.ttf",
"DejaVu Sans":
"https://cdn.kendostatic.com/2023.1.117/styles/fonts/DejaVu/DejaVuSans.ttf",
"DejaVu Sans|Bold":
"https://cdn.kendostatic.com/2023.1.117/styles/fonts/DejaVu/DejaVuSans-Bold.ttf",
"DejaVu Sans|Bold|Italic":
"https://cdn.kendostatic.com/2023.1.117/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf",
"DejaVu Sans|Italic":
"https://cdn.kendostatic.com/2023.1.117/styles/fonts/DejaVu/DejaVuSans-Oblique.ttf"
})
kendo.drawing.drawDOM($("#Body"), {
landscape: false,
paperSize: "B2",
margin: "2cm",
forcePageBreak: ".page-break"
}).then(function (group) {
kendo.drawing.pdf.saveAs(group, siteShortName + "-Snap-" + new Date().getTime() + ".pdf")
})
}
}, "#Snap")
Do you able to tell what may cause the error? I am using online free font converter to convert woff2 to ttf as v7 no longer provide ttf. v7 is now using css variable.
Thanks.
I want to compare two data types side-by-side in one PivotGrid. Conceptually the Fields tree should look like:
Then on Columns I’d place Area → Period under DATA 0 (and/or DATA 1) to get a hierarchical header.
Question
Is showing expandable hierarchy levels in the Fields panel supported with client-side data?
If yes, what’s the correct schema?
If not, what’s the recommended approach (e.g., model each level as its own dimension), and would PivotGrid v2 change this?
Product & version
Kendo UI for jQuery – PivotGrid (classic, not v2)
Reproduced on CDN builds 2023.2.718 and 2024.2.514
Browser: Chrome (latest)
Just needed to check a quick example for reference and I've discovered all the samples have been rewritten to include a bunch of fluff. Here is the new example for the textbox. THE TEXTBOX... this is the example??? Who thought this was a good idea? It seems like someone was given a task to make sure the examples are up to date and some very eager beaver who jumps on every new web dev bandwagon but loses sight of what the end user experience is like, or their fellow coding team members. I have always told people 'and telerik has good documentation and examples' but I can't honestly say that now. After using it for 15 years, I'm so disappointed in what happened to kendo.
Reminder, this is the first example for kendo text box:
<body>
<div class="demo-wrapper k-d-grid k-gap-8 k-flex-1 k-px-8 k-pt-7">
<div data-role="skeletoncontainer" class="side-container k-skeleton k-opacity-20 !k-d-flex k-flex-col k-align-items-center k-px-5 k-pt-7.5 k-rounded-tl-md k-rounded-tr-md" aria-live="polite" aria-label="Loading...">
<span class="k-skeleton k-opacity-80 k-skeleton-circle k-w-18 k-h-18 k-mb-5"></span>
<div class="k-d-flex k-flex-col k-align-items-center k-gap-1">
<span class="k-skeleton k-w-24 k-h-4 k-rounded-md"></span>
<span class="k-skeleton k-opacity-80 k-w-14 k-h-2.5 k-rounded-md"></span>
</div>
<div class="k-d-flex k-flex-col k-w-full k-mt-13 k-gap-4">
<div class="k-skeleton k-opacity-80 k-rounded-md k-h-2.5"></div>
<div class="k-skeleton k-opacity-80 k-rounded-md k-h-2.5"></div>
<div class="k-skeleton k-opacity-80 k-rounded-md k-h-2.5"></div>
</div>
</div>
<div class="main-container k-pb-8 k-d-flex k-flex-col">
<div class="k-d-flex k-gap-3 k-align-items-center k-mb-5">
<span class="avatar !k-d-none k-skeleton k-opacity-30 k-skeleton-circle k-w-12 k-h-12"></span>
<h4 class="k-h4 k-opacity-20 k-font-bold">My Profile</h4>
</div>
<span class="k-d-inline-block">Name</span>
<input id="textbox" />
<div class="k-d-flex k-flex-col k-gap-1 k-mt-5">
<span class="k-skeleton k-opacity-40 k-rounded-md k-w-24 k-px-3 k-h-4"></span>
<span class="k-skeleton k-opacity-30 k-rounded-md k-h-7.5"></span>
</div>
<div class="k-d-flex k-flex-col k-grow k-gap-1 k-mt-5">
<span class="k-skeleton k-opacity-40 k-rounded-md k-w-24 k-px-3 k-h-4"></span>
<span class="content-expanded k-grow k-skeleton k-opacity-30 k-rounded-md k-h-20"></span>
</div>
</div>
</div>
<script>
$(document).ready(function() {
// create TextBox from input HTML element
$("#textbox").kendoTextBox({
value: "John Smith",
clearButton: true
});
});
</script>
<style>
.demo-wrapper {
grid-template-columns: 180px 1fr;
}
.k-h4 {
line-height: 26px;
margin-bottom: 0;
}
.kd-nodata-wrapper{
display: block !important;
padding-top: 20px !important;
}
/* Breakpoints for full screen demo: max:599px, min:759px and max: 959 */
@media (max-width: 678px), (min-width: 821px) and (max-width: 1038px), (min-width: 1241px) and (max-width: 1328px) {
.demo-wrapper {
grid-template-columns: 1fr;
}
.avatar {
display: block !important;
}
.side-container {
display: none !important;
}
.main-container {
padding-bottom: 0;
}
.content-expanded {
border-end-end-radius: 0;
border-end-start-radius: 0;
}
}
/* Breakpoint for full screen demo: max:359px */
@media (max-width: 476px) {
.avatar {
width: 32px;
height: 32px;
}
}
</style>
</body>
When I go to dojo.telerik.com, I get a loading image that is showing forever and the actual playground is never getting loaded.
Has dojo been retired?
UPDATE
I tried again after a few hours but after a long time of loading panel , the playground in dojo loaded. But, now there is no button to login. So my question now is if I can get all my snippets from dojo?
Hi everyone,
I'm not very familiar with Kendo.
This is my first time using an array of arrays. I expected all the Arrays in the Array to be DataSource structures.
Instead, I had to write something like this:
var selected = new kendo.data.DataSource();
for ( var font of AP.page.selectedFonts ) {
var newRow = {
id: font.id,
font: font.font,
// I thought this array was automatically converted to a DataSource.
items: new kendo.data.DataSource( { data: font.items } )
};
selected.add( newRow );
}
viewModel.set( "selectedFonts", selected );
Is this the correct approach?
Many thanks
i am trying to render my chart with rounded corner at the side. but cant seems to get it to work.
Expected result
So I wanted to know if there was an easier way to find the current state of the toggle button. I used a global variable defined in the scope of the .js file I am using.
var isSelected = false.
Then for extra safety and really embarrassingly enough we just kind of blindly follow this pattern, we put this variable in a kendo.observable:
function initControls() {
//More initialization stuff before...
_view = kendo.observable({
intervalList: _intervalList,
layoutDataList: _layoutDataList,
noCustoms: _noCustoms,
isSelected: _isSelected, //<--------[ADDED]
})
)
//More initialization code after
}
//Percent button:
$("#my-toggle-btn").kendoToggleButton({
icon: "null", // using Font Awesome for an icon.
enable: true,
selected: false,
togglable: true,
click: function () {
// on the click change current state of the percentSelected:
_view.set("isSelected", !_view.get("isSelected"));
let perSelected = _view.get("isSelected");
console.log("percentSelected toggled to: " + perSelected);
if (perSelected) {
console.log("...button should be BLUE.");
} else {
console.log("...button should be GREY.");
}
}
});
var number = $("#numberInput").data("kendoNumericTextBox").value();
// Detect if percentage toggle is active -- GREY not selected and BLUE == selected.
var isPercent = _view.get("isSelected");
//... later in the code this is evaluated like:
//If the percent toggle button in true/BLUE then convert.
//Ergo...modify to make the number in the input a percent value 30 is percent then it needs to be converted to .30.
var modifier = isPercent ? val * (number / 100) : number;//ternary operator.
// then later in the code the percentage value or the non-percentage value is inserted into a simple
// mathematical formula that loops through an array of numeric values...