We have a media player which gives the following error: (the media player works but the console error is annoying)
www-widgetapi.js:99 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (xxxx) does not match the recipient window's origin (yyyyy)
Is there some configuration I can change to enable this? The xxxx url is a youtube url with https at the begining
Thanks!
Hello
I am trying to save kendo PivotGrid state for future load but I can't find a way to save/load the selected feilds (slices) using the "Fields to Include" menu along side with rows,columns and measures.
Is there any way to get and set selected fields in kendo PivotGrid?
TreeList Column Resize work fine in ltr mode but it doesn't work properly in RTL Mode
try to resize tree columns in following example :
http://dojo.telerik.com/OHUje
is there any fix code for this bug ?
Hi
Is it possible to somewhere download kendo ui not minified source files ( jquery version )?
Hello,
I have some troubles finding out when the grid data is fully loaded and displayed. Is there a way to capture the dataBound event of the grid similar to the one in the jQuery.
I noticed the data state change event also fires before the data is visually displayed, so not an option.
I need to perform an operation with multiple checkboxes, a kind of multiple selection of items so I'm adding "k-state-selected" class to visualize the selected rows.
Kind Regards,
Georgi Mitev
I have a hierarchical grid that i populate data with 2 page methods. When the page loads the is no problem how ever if i reload the grid the rows wont expand. the detailInit event fires. (if i reload it again after the rows don't expand. then everything loads and functions correctly)
function loadGrid(startDate, endDate) {
$("#rgLeaderBoardByManager").kendoGrid({
dataSource: {
data: data
},
dataBound: function (e) {
var grid = this;
$(".k-grouping-row").each(function (e) {
grid.collapseGroup(this);
});
},
sortable: true,
scrollable: true,
detailInit: detailInit,
columns: [
{
field: "Manager",
title: "Manager"
},
{
field: "TotalSalesByManager",
title: "Total Sales"
}
]
});
function detailInit(e) {
var sd1, ed1;
var dateRange = FindControl('<%= rcmLeaderBoardByManagerWidget.ClientID %>').value;
switch (dateRange) {
case "Today":
sd1 = new Date();
ed1 = new Date();
break;
case "Yesterday":
sd1 = new Date().Add("D", -1);
ed1 = new Date().Add("D", -1);
break;
case "Week to Date":
sd1 = new Date().Add("D", -(new Date().getDay()));
ed1 = new Date();
break;
case "Last Week":
sd1 = new Date().Add("D", -(new Date().getDay() + 7));
ed1 = new Date().Add("D", -(new Date().getDay() + 1));
break;
case "Month to Date":
sd1 = new Date(new Date().getFullYear(), new Date().getMonth(), 1);
ed1 = new Date();
break;
case "Last Month":
var endOfLastMonth = new Date(new Date().getFullYear(), new Date().getMonth(), 1).Add("D", -1);
sd1 = new Date(endOfLastMonth.getFullYear());
ed1 = endOfLastMonth;
break;
}
CallWidgetHelper("GetLeaderByManagerWidgetData", function (response) {
$("<div/>").appendTo(e.detailCell).kendoGrid({
dataSource: {
data: response.d
},
scrollable: false,
sortable: true,
columns: [
{ field: "UserFullName" },
{ field: "TotalSales", title:"User"}
]
});
}, null, "startDate", sd1.format('M/d/yyyy'), "endDate", ed1.format('M/d/yyyy'),
"includeCancels", FindControl('<%= hdnIncludeCancels.ClientID %>').value,
"includeChecksPending", FindControl('<%= hdnIncludeChecksPending.ClientID %>').value, "managerId", e.data.ManagerId);
}
}

Hi All
I want to ask about grid, how to call function 'update' in kendo grid from custom function or custom button ?
Thank's

I'm trying to make the text label not crowded in a lot of data and I can not successful.
{dataSource: modelStats,legend: {visible: false},xAxis: {min: -2,max: 2,labels: {format: "{0:n1}"}},yAxis: {labels: {format: "{0:n2}"}},series: [{name: "Fleet Avg",type: "line",aggregate: "avg",field: "fleetAvg",categoryField: "date",color: "#a0b751",},{name: "Driver",type: "line",aggregate: "avg",field: "value",categoryField: "date",color: "#219dd0",},{name: "Driver previous period",type: "line",aggregate: "avg",field: "valueFrom_SameDateLastPeriod",categoryField: "date",color: "#10b4b6",}],seriesDefaults: {aggregate: "avg",type: "line",width: 3,margin: 30,markers: {size: 15,width: 10}},categoryAxis: {baseUnit: me.baseUnitDefault[0],labels: {dateFormats: {weeks: tFormat},font: "13px Arial,Helvetica,sans-serif",rotation: "auto"},},tooltip: {visible: true},pannable: true,onZoom: onChartZoom,});http://dojo.telerik.com/izOFU
I'm trying to be a kendo right now. I found it very successful. In the above example I get the error "There are no items to view" when I turn the code below. Also, the page number is 0.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled</title>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.rtl.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.default.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.default.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.mobile.all.min.css">
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/angular.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/jszip.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.all.min.js"></script></head>
<body>
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
dataSource: {
data: {
"items" :[
{
"employee": "John Doe",
"team": "INFRASTRUCTURE"
},
{
"employee": "Jane Doe",
"team": "INFRASTRUCTURE"
}
]
},
schema: {
data: "items"
}
},
height: 540,
sortable: true,
reorderable: true,
groupable: {
messages: {
empty: "Gruplandırılacak Kolonları Buraya Sürükleyin."
}
},
resizable: true,
filterable: true,
columnMenu: true,
pageable: {
info: true,
previousNext: true,
numeric: true,
pageSize: 2,
messages: {
display: "Showing {0}-{1} from {2} data items",
itemsPerPage: "Kayıt Sayısı"
}
},
noRecords: {
template: "No data available on current page. Current page is: #=this.dataSource.page()#"
},
scrollable: {
endless: true
},
columns: [
{
field: "employee",
title: "Employee"
},
{ field: "team",
title: "Team",
}
]
})
</script>
</body>
</html>