Greetings,
I have two issues here:
1. when the window is open, it's not properly centered in the expected region, how can I get it to be in the center of the appended div?
2. When I maximize the window, it covers everything, how can I limit it to that same region?
Here is a code snippet:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kendo UI Snippet</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.607/styles/kendo.common.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.607/styles/kendo.rtl.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.607/styles/kendo.silver.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.2.607/styles/kendo.mobile.all.min.css"/>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://kendo.cdn.telerik.com/2016.2.607/js/kendo.all.min.js"></script>
</head>
<body>
<div id="vertical" >
<div></div>
<div id="horizontal" >
<div id="menusection"></div>
<div id="mainContent">
<div id="dialog"></div>
</div>
</div>
<div></div>
</div>
<script>
$("#vertical").kendoSplitter({
orientation: "vertical",
panes: [
{ collapsible: true, size: "5%" }, // height
{ collapsible: false, size: "90%" },
{ collapsible: true, size: "5%" }
]
});
$("#horizontal").kendoSplitter({
panes: [
{ collapsible: false, resizable: false, size: "15%" }, // menu
{ collapsible: false, resizable: false, size: "85%" },
]
});
$("#dialog").kendoWindow({
appendTo: "div#mainContent",
actions: [
//"Pin",
"Minimize",
"Maximize",
"Close"
]
}).center().open();
//var dialog = $("#dialog").data("kendoWindow");
//dialog.center();
// chaining example
// dialog.center().open();
</script>
</body>
</html>
Thanks,
Hi,
We have checkbox (<input type='checkbox' ...>) in each row of TreeList where we will set it as indeterminate state by below code:
checkboxElement.prop('indeterminate', true);
It works fine until I expand or collapse a node. All those 'indeterminate' checkbox are cleared.
Please kindly advise any way to prevent such clearing.
Thanks!
Kelvin

$(document).ready(function (){ myDataSource = new kendo.data.DataSource( { transport: { read: { url: "./module/getData.php", type: "GET", dataType: "json", } }, schema: {data: "data"} });myDataSource.read();alert(JSON.stringify(myDataSource.data())); $("#test").kendoGrid({ dataSource: myDataSource }); });
...
<table id="test">
<tr>
<th data-field="text">Name</th>
<th data-field="desc">Description</th>
</tr>
</table>
... alert(JSON.stringify(myDataSource.data()));var data = myDataSource.data();alert(data.length);
Just shows 0 (zero)
I'm trying to get kendo radial guages working in a new asp mvc core application from a recent purchase of mvc controls & kendo ui pro.
All examples are showing a wrapping container of something like:
#gauge-container { background: transparent url(@Url.Content("~/Content/dataviz/gauge/gauge-container-partial.png")) no-repeat 50% 50%; width: 386px; height: 386px; text-align: center; margin: 0 auto 30px auto;}
but where is this png in the installation folders? It doesn't exist for me in the UI for ASP.NET MVC Q2 2016 or Kendo UI Professional Q2 2016 directories so i'm just wasting time trying to hunt this down.
Can you point me in the right direction for these controls to render appropriately?
Thanks
Was trying to create a virtualized dropdown list that uses client side paging. This is options object used to create the dropdown:
{ dataSource: { transport: { read: function(options) { var items = dataService.getItemData(); options.success(items.d); }, schema: { data: "d", //root element that contains data array total: "d.length" //total amount of records }, serverPaging: false, }, pageSize: 80, }, dataTextField: "itemName", dataValueField: "id", virtual: { itemHeight: 26, valueMapper: function(options) { console.log('in value mapper function'); options.success(-1); } }, height: 290 }dataService.getItemData() is an angular service that returns the data which is an object:
{ d: arrayOfItemObjects}The issue i'm having is that while the list renders it only has the first 80 items in it and as i scroll it never gets any additional items even though it has the entire list client side. I'm not sure what i'm doing wrong...any help is appreciated.
From what I gathered from googling my issue. The scheduler should automatically delete a series exception when updating the series itself. Currently my scheduler is not removing any exception. Am I missing an option to remove the exception? I want to note I am not using 'batch' for my transport. Any advise would be appreciated.
Thanks,
--Brett
Hi,
Kendo.MVC nuget (MVC 6 RC1 Final) depends on the DNX run time. It is not supporting RC2. Is there any approximate time line to support MVC RC2.
-thank you
Hello,
I am new to Kendo UI and I am having some trouble trying to create a window dialog with datepickers in it.
The first time I load it, it looks great.
Then I close it, open it again and the datepickers don't seem to load properly.
Can you help me or point me in the right direction?
Here's my code:
$("#button").click(function (e) { e.preventDefault(); var kendoWindow = $("<div />").kendoWindow( { open: function () { var picker = $("#project_end_datepicker").data("kendoDatePicker"); if (picker == null) { $("#project_end_datepicker").kendoDatePicker( { animation: false }); $("#project_start_datepicker").kendoDatePicker( { animation: false }); } }, title: "Nieuw project", resizable: false, iframe: true, modal: true }); kendoWindow.data("kendoWindow") .content($("#new-project-dialog").html()) .center().open();});
Hi,
I'm developing a large industry SPA portal on AngularJS and faced several issues with Grid filtering:
1. Column template supports AngularJS directives, but column filter "itemTemplate" isn't:
template: "<the-column value='#= TheColumnValue #'></the-column>",
filterable:
{
multi: true,
itemTemplate: function(e) {
// some conditions here
return "<the-column-filter></the-column-filter>";
}
}
In this code snippet GridColumn's template field works as expected (directive the-column is recognized), but the-column-filter directive, referenced in filter itemTemplate is not recognized and just ignored.
Even worse is that if I started providing filterable option, localization in this specific column resets to default language (en-US):
http://take.ms/Byorr
2. Another localization problem reproduced with "Is null" and "Is not null" operators. As opposed to other operators, these two have no translations to RU:
http://take.ms/zj2rV
But when I tried to provide my own translations for them, other criterias just disappeared:
http://take.ms/Q6wL2
Please, give me a hint to workaround these problems or fix them if possible.
Thank you