I have an element need to inited both Draggable and Toolips, and I want to prevent tooltips show event when dragend, I use e.preventdefault() , but it don't work.
The version I'm using is 2017.3.913
For some reason, I can't update to the latest.
My html
<div class="edit-tooltips" style="left: ${xPx};top: ${yPx}">
<div class="sensor-point new-point" > content
${ index }
</div>
</div>
My js
$(".edit-tooltips").kendoTooltip({
autoHide:false,
showOn: "click"
.....
})
$(".sensor-point").kendoDraggable({
hint: (element)=>{
return ....
},
dragstart: (e:any)=>{
},
dragend: (e:any)=> {
....
e.preventDefault() // this dot'n work, tooltips show event will still be triggered
}
})
I have a grid with multiple selection with checkboxes. I need to be able to deselect the checkbox on a single row programatically. I am able to turn off the row selection class using
$(row).removeClass("k-state-selected");
but I have so far been unable to uncheck the corresponding checkbox.
Thanks in advance.
Eric Katz
Hi,
We want multiple tabstrip depending on user selection. In that tabstrip want multiple grid. Is there sample code in angularJS for this problem.
Thanks!
Hi,
In the gridconfig I use the following code:
group: function (e) {
if (e.groups.length) {
localStorage["ndo-grid-options"] = kendo.stringify(e.sender.getOptions());
} else {
localStorage["ndo-grid-options"] = '';
}
},
var options = localStorage["ndo-grid-options"];
var grid = $('#grid').data('kendoGrid');
if (options) {
grid.setOptions(JSON.parse(options));
}
But it is not working 100% as expected. Probably I am doing something wrong. Please take a look at the Loom video below.
https://www.loom.com/share/89708bc87e5449ecb55f4eb8a4b9637e
Thanks, Roel
Hi Team,
When we open filter window from column filter button, it shows different input controls without any labels, as per accessibility guideline "3.3.2 Label or Instruction Level A" every input control needs to have a visible label, just having the placeholder text is not enough.
Can I request you to take this up in the product?
Hi,
Can I export to Pdf an Icon which exists on my column in gantt chart?
Thanks.
Hi Team,
How can we add tooltip to the sort icon of the grid column header.
thanks
I am attempting to locally run in my environment the code from the following demo:
https://demos.telerik.com/kendo-ui/pivotgrid/local-flat-data-binding
If I use the code functionally as-is it works fine. If however I change to an older version I receive the following error:
Uncaught TypeError: e.aggregate is not a function
My application is using version 2014.2.1008 which does provide the Pivot Grid even as it is a very old version. Is this a known issue resolved in a later version? Or perhaps I am just doing something wrong. Below is my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Pivot Grid Demo</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2014.2.1008/styles/kendo.common.min.css" />
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2014.2.1008/styles/kendo.default.min.css" />
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2014.2.1008/styles/kendo.default.mobile.min.css" />
<script src="http://kendo.cdn.telerik.com/2014.2.1008/js/jquery.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2014.2.1008/js/kendo.all.min.js"></script>
<style>
#configurator {
width: 400px;
min-width: 400px;
display: inline-block;
vertical-align: top;
}
#pivotgrid {
width: 67%;
display: inline-block;
vertical-align: top;
}
</style>
</head>
<body>
<script src="https://demos.telerik.com/kendo-ui/content/shared/js/products.js"></script>
<div id="example">
<div class="hidden-on-narrow" id="configurator"></div>
<div class="hidden-on-narrow" id="pivotgrid"></div>
<div class="responsive-message"></div>
<script>
$(document).ready(function () {
var pivotgrid = $("#pivotgrid").kendoPivotGrid({
filterable: true,
sortable: true,
columnWidth: 120,
height: 570,
dataSource: {
data: products,
schema: {
model: {
fields: {
ProductName: { type: "string" },
UnitPrice: { type: "number" },
UnitsInStock: { type: "number" },
Discontinued: { type: "boolean" },
CategoryName: { field: "Category.CategoryName" }
}
},
cube: {
dimensions: {
ProductName: { caption: "All Products" },
CategoryName: { caption: "All Categories" },
Discontinued: { caption: "Discontinued" }
},
measures: {
"Sum": { field: "UnitPrice", format: "{0:c}", aggregate: "sum" },
"Average": { field: "UnitPrice", format: "{0:c}", aggregate: "average" }
}
}
},
columns: [{ name: "CategoryName", expand: true }, { name: "ProductName" } ],
rows: [{ name: "Discontinued", expand: true }],
measures: ["Sum"]
}
}).data("kendoPivotGrid");
$("#configurator").kendoPivotConfigurator({
dataSource: pivotgrid.dataSource,
filterable: true,
sortable:true,
height: 570
});
});
</script>
</div>
</body>
</html>
I have to upgrade from jQuery 1 1.12.4 to a more recent 3.something but am currently using v. 2017.3.913 of Kendo UI.
Do you have a migration guide to know in advance what it could break and which versions of jQuery and Kendo UI are recommended?
Thanks in advance
I am following this example:
https://demos.telerik.com/kendo-ui/drawer/mvvm
Currently, each drawer item has same content.
<div style="height: 200px;">Lorem ipsum dolor sit amet consectetur adipisicing elit. Error accusantium odit, optio nulla maiores quo neque fugit debitis dignissimos incidunt maxime? Eum voluptatem blanditiis voluptatum praesentium dolorem, dolore placeat debitis quod delectus laborum assumenda cupiditate quaerat quam fugiat deleniti suscipit necessitatibus.</div>
How do I specify a different content for each tab?