I need column with checkboxes as column content. I found this code.
My template:
{ field : "Select", template: (dataItem) => { return `<input type="checkbox" />`; }},But how can I track when input checked is changed? Is it possible to return JQuery instead of string? I need to react immediately after checked is changed. Example in code I found use another event to check checkboxes checked property.
Hi,
I have a problem with the Kendo grid when i click on a row for select it.When it's at border between the grid's bottom, it's shift up and don't select it.
e.g :
http://dojo.telerik.com/@muadhib/opena
Click on the line Brazil (Freight : 58.17, Order date : 10/07/1996), the line shift up at the third position. Be warn, a new line Brazil appears a last row, but it's not the one i want ! (In my case, my window is in resolution 900x 607 and i'm using Chrome)
I seems to be caused when the grid is on scrollable: { virtual: true }.
Any body have the same problem ? What do i wrong ?
Thx
I'm using the Northwind·Dash demo to create my dashboard.
The problem is when I uses the navbar code in my html and link the Site.css
<div class="container-fluid"> <!--open container--> <div class="row row-offcanvas row-offcanvas-left"> <!--open row--> <div id="nav-section" class="col-xs-12 column"> <!--open nav column--> <div class="navbar-default"> <button id="toggle-button" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <h1 id="dash-logo" class="center-block">Northwind·Dash</h1> <div class="collapse navbar-collapse" id="sidebar-nav" role="navigation"> <ul class="nav"> <li id="regional-sales-status"> <a href="index.html"> <span class="icon icon-chart-column"></span>Regional Sales Status</a> </li> <li id="products-and-orders"> <a href="products-orders.html"> <span class="icon icon-star-empty"></span>Products & Orders</a> </li> <li id="team-efficiency"> <a href="team-efficiency.html"> <span class="icon icon-faves"></span>Team Efficiency</a> </li> <li id="about"> <a href="about.html"> <span class="icon icon-info"></span>About</a> </li> </ul> <div id="rights"> <p>Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.</p> </div> </div> <!--close main column--> </div> <!--close row--> </div> <!--close container-->The navbar will not be full height in my page.
And if I add a new li tag in navbar, there will be a new transparent bar.
What's wrong with this problem?
hi all, I tried to implement printing a grid using the article :http://docs.telerik.com/kendo-ui/controls/data-management/grid/print-export.
I see that at the end of each page in preview, there are repeated page numbers showing up in bulleted form. Can you please tell me how to resolve this issue with printing a grid?

Thought I had done something wrong as none of the javascript methods on an upload component, returning an 'xyz is not a function', however, having tried your own previews in your documentation, there is the exact same problem on your documentation page. So guessing this is not me...
Tried this out on chrome, IE & firefox on two different machines and the upload preview in your documentation fails on all of them.
http://docs.telerik.com/kendo-ui/api/javascript/ui/upload#methods-removeAllFiles
Dont really understand how this can happen in a 'stable' release...
I am starting a new project using the Kendo Mobile controls (release 2016 Q1 SP2), and I am using TypeScript. When I attempt to instantiate my kendo.mobile.application, I am getting errors from TypeScript and the issue appears to be that the type definition file does not contain the correct definition.
Here is my simple TypeScript code:
var app = new kendo.mobile.Application(document.body, { transition: 'slide', skin: 'nova', init: function () { //don't do this for android, causes issues with scrollView and swiping kendo.UserEvents.defaultThreshold(kendo.support.mobileOS.device === 'android' ? 0 : 20); }});This code works fine when I run it in JavaScript, but after trying it in TypeScript and I getting compiler errors - it's complaining about the "skin" and "init" options. The errors are shown in the attached images (skin.png and init.png). The skin configuration option is shown in the Kendo docs (http://docs.telerik.com/kendo-ui/api/javascript/mobile/application#configuration-skin), so is it just a matter of the type definition file being incorrect? Or is there something else I need to do?
Also, looking over the type definition file, it appears that the ApplicationOptions parameter used when initializing the application object is missing quite a few items that are listed in the Kendo documentation (http://docs.telerik.com/kendo-ui/api/javascript/mobile/application) - things like browserHistory, hashBang, modelScope, useNativeScrolling, etc. So this seems like more than just a minor oversight, which leads me to my other question...is TypeScript fully supported for Kendo Mobile? Just want to make sure I'm going down the "sanctioned" path before I get too far into my project.
is there a way to solve this problem where i wanted to maintain the structure of the grid.
<div id="grid" ></div>var data = [{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":11,"UnitPrice":14.0000,"quanity":12},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":42,"UnitPrice":9.8000,"quanity":10},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":72,"UnitPrice":34.8000,"quanity":5},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10249,"ProductId":14,"UnitPrice":18.6000,"quanity":9}];var grid = $("#grid").kendoGrid({ columns :[ {title:"test", columns:[ {field:"_type", title:"Type"}, {field:"Discount", title:"Discount"}, {field:"OrderId", title:"Order Id"}, {field:"ProductId", title:"Product Id"}, {field:"UnitPrice", title:"Unit Price"}, {field:"quanity", title:"Quanity"}] }], dataSource:{ data:data }, height:400, scrollable: true, pageable:true, columnMenu: true, sortable:{ mode:"multiple" }});Can you write some example how to use your Mobile framework with TypeScript. I write some layout, some views, bind it to model, but as soon as I add import statement, binding to model is not working.
App.ts
import * as WS from "./libraries/matjaz/classes/websocket"; //cause binding doesn't workclass ModelLogin extends kendo.data.ObservableObject{ host = ""; port = 1501; username = ""; password = ""; constructor() { super(); super.init(this); } onLogMeInClick() { }}class ModelMain extends kendo.data.ObservableObject{ isLogedIn = true; constructor() { super(); super.init(this); $("#button-logout").click(() => { this.set("isLogedIn", false); app.navigate("#/"); }); } onShowLoginClick() { $("#view-login").data("kendoMobileModalView").open(); }}var modelLogin = new ModelLogin();var modelMain = new ModelMain();var app: kendo.mobile.Application;$(function (){ app = new kendo.mobile.Application($(document.body), { skin: 'flat', layout: "layout-main", init: function () { if (modelMain.isLogedIn !== true) $("#view-login").data("kendoMobileModalView").open(); } }); });index.html:
<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="styles/external/kendo/kendo.mobile.flat.css" rel="stylesheet" /> <link href="styles/external/font-awesome/font-awesome.css" rel="stylesheet" /> <script src="scripts/external/jquery-2.1.4.js"></script> <script src="scripts/external/kendo.mobile.js"></script> <script> kendo.data.binders.widget.buttonText = kendo.data.Binder.extend({ init: function (widget, bindings, options) { //call the base constructor kendo.data.Binder.fn.init.call(this, widget.element[0], bindings, options); }, refresh: function () { var that = this, value = that.bindings["buttonText"].get(); //get the value from the View-Model $(that.element).text(value); } }); </script> <script src="scripts/external/require.js" data-main="scripts/app"></script></head><body> <div id="view-main" data-role="view" data-layout="layout-main" data-model="modelMain" data-title="Title"> <div data-bind="visible: isLogedIn"> <ul class="navigation-icons"> <li><a href="#holiday_announcment.html"><span class="fa fa-4x fa-plane"></span><div>Najava dopusta</div></a></li> </ul> </div> <div data-bind="invisible: isLogedIn"> <button data-role="button" class="km-primary km-justified" data-bind="events: {click: onShowLoginClick}">click</button> </div> </div> <div data-role="modalview" id="view-login" data-model="modelLogin" style="width:90%;"> <div> <ul data-role="listview" data-style="inset"> <li> <label class="km-required"> <span>host</span> <input data-bind="value: host" type="text" /> </label> </li> <li> <label class="km-required"> <span>port</span> <input data-bind="value: port" type="number" /> </label> </li> <li> <label class="km-required"> <span>username</span> <input data-bind="value: username" type="text" /> </label> </li> <li> <label class="km-required"> <span>password</span> <input data-bind="value: password" type="password" /> </label> </li> <li style="text-align: center;"><button data-role="button" class="km-primary" data-bind="events: {click: onLogMeInClick}">login</button></li> </ul> </div> </div> <section data-role="layout" data-id="layout-main" data-model="modelMain"> <header data-role="header"> <div data-role="navbar" class="navigation"> <a data-align="left" href="#/"><span class="fa fa-home"></span></a> <a data-align="left" style="padding-left: 2em;"><span class="fa fa-angle-left"></span></a> <span data-role="view-title"></span> <a data-align="right" data-bind="events: {click: onLogoutClick}" id="button-logout"><span class="fa fa-sign-out"></span></a> </div> </header> </section></body></html>I'd like to be able to use kendoListView within an ng-repeat to display several list views, but it can't seem to find the data source when I use an array of data sources.
E.g., something like:
<div ng-repeat="listIndex in [0, 1, 2]">
<kendo-list-view id="listView-{{listIndex}}"
k-data-source="dataSource[{{listIndex}}]"
<div k-template>
{{dataItem.Name}}
</div>
</kendo-list-view>
</div>