import kendoData = require("kendo\kendo.data"); // I want to do something with data, emit require statementvar data = new kendo.data.ObservableObject()kendo.bind("#target", data);declare module "kendo/kendo.data" { module data { export import Datasource = kendo.data.DataSource; export import ObservableObject = kendo.data.ObservableObject; }}
import kendoData = require("kendo\kendo.data");import kendoBind = require("kendo\kendo.binder");var data = new kendoData.data.ObservableObject();kendoBind.bind("#target", data);

After upgrading to Kendo UI v2016.2.504, the shapes of diagrams can not be moved with the mouse.
If I simply replace kendo.all.js with our previous version (which was Kendo UI v2015.1.521), they can be moved with the mouse. and thats what our users want...
Can you help ?
Thank you in advance.
We are doing filtering and sorting client side. We hook into the change event and filter out the results. All is well until the sort is done descending. The correct number of records are displayed but the records themselves are the wrong ones. It's like the indexing is wrong on the displayed records. Can someone point me at what to look at to figure his out. Thanks.
01.function filterButtonClicked(gridId) {02. var grid = $("#" + gridId.toLowerCase() + "Grid").data("kendoGrid");03. var filtertxt = $("#txt" + gridId + "Filter").val().trim().toLowerCase();04. $("#" + gridId.toLowerCase() + "Grid")05. .find("table > tbody > tr")06. .each(function (i) {07. var currentRow = $(this);08. var displayName = grid.dataSource.data()[i].DisplayName.toLowerCase();09. // See if filter should be applied10. console.log(filtertxt);11. console.log(displayName);12. if (displayName.indexOf(filtertxt) >= 0) {13. currentRow.show();14. } else {15. currentRow.hide();16. }17. });18.}And this is the grid event hook but the event is getting called just fine.
1. ...2. dataBound: gridOnDataBound,3. change: filterButtonClicked('Available')4.}).data("kendoGrid");
function (result) { // success if (result.length > 0) { // add the leaf node since it is not included in the "path to the node" var nplus1 = result[result.length - 1].HierLevel + 1; var leafNode = { OrgId: parseFloat(id), HierLevel: nplus1 }; result.push(leafNode); // get the tree view var treeview = $('#treeview').data('kendoTreeView'); // collapse all nodes treeview.collapse(".k-item"); // get the data source var dataSource = treeview.dataSource; $.each(result, function (idx, val) { var dataItem = dataSource.get(val.OrgId); // find item with OrgId value var node = treeview.findByUid(dataItem.uid); // find treeview item by uid treeview.expand(node); if (val.HierLevel === nplus1) { treeview.select(node); } }); }}hi guys,
I'm trying to set a default value for all the cells of a specific index whenever a new row in created in the spreadsheet.
I wanted to do this with the change event of the spreadsheet and basically do: get current selected cell position & go to my desired index on that row and add the default value. However i wasn't able to find how to get the selected's cell position in the change event function.
Another idea was to set a default value for my specific cell index with "sheets.rows.cells.value" but i see it needs a row index which in my case is dynamic.
Thanks a lot for the help