1. Is it hard to understand the version numbers of our releases? If yes, what makes them hard to understand them?
2. Would semantic versioning (SemVer) of our releases make it easier to understand our version numbers and what's behind them?
3. If we go with SemVer, we might need to start with version 3000.0.0 as we currently use 2022.x.x. Please share your thoughts about this approach and ideas for what number versioning would work best for you.
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)
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.
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...
Normally just select the item in the browser inspector, and style, but the second I tap ANYWHERE the autocomplete items disappear. Is there some way to persist them just for styling?