FAQ Database Discussion Community


Cascading drop down menu with editor template kendo grid mvc

kendo-ui,kendo-grid,kendo-asp.net-mvc,kendo-treeview
I trying to implement a cascading down list with editor template i am not sure if kendo support it, i have a grid when in editing move i am trying to filter data base on select data from an editor template grid is showing availablity time a user can work...

Parent/child click relationships in AngularJS directives

angularjs-directive,kendo-treeview
I have a custom directive placed on a Kendo UI treeview widget. It seems to be working fine side-by-side, except that I'm trying to simply display the custom icons next to the tree node which is clicked on (see sample image below). So my directive is data-toggle-me, placed next to...

Kendo Treeview checkbox change event

kendo-ui,kendo-treeview
My treeview is this @(Html.Kendo().TreeView() .Name("AccessControlTree") .DataTextField("Name") .Deferred() .HtmlAttributes(new { style = "width: 500px" }) .Checkboxes(c => c .CheckChildren(false) ) .DataSource(dataSource => dataSource.Read(read => read.Action(@Model.ActionMethod, @Model.ControllerName, new { area = @Model.AreaName }).Data("sethierarchyoption")) .ServerFiltering(false)) .LoadOnDemand(true) .Events(events => { events.DataBound("onTreeViewBound").Select("onSelect"); }) ) I need to customize the behavior as...

Give a Linear Gauge custom labels

kendo-ui,kendo-treeview
I have a kendo linear gauge defined like this... $("#gauge").kendoLinearGauge({ pointer: { value: 4.5, shape: "arrow" }, scale: { majorUnit: 1, minorUnit: 1, max: 6, ranges: [ { from: 0, to: 1, color: "#ffc700" }, { from: 1, to: 2, color: "#ff7a00" }, { from: 2, to: 3, color: "#c20000"...

Kendo TreeView: check if a node has siblings or children

javascript,kendo-ui,kendo-treeview
I have got a Kendo TreeView: @(Html.Kendo().TreeView() .Name("treeview") .BindTo((IEnumerable<TreeViewItemModel>)ViewBag.MyTree) .Events(e => e.Select("test")) ) Here's the Javascript function fired when selecting a node: function test(e) { var id = $(e.node).data("id"); var description = this.text(e.node); //if (.....) { // ..... something here //} alert('Id: ' + id + '\nDescription: ' + description);...

Building a TreeView issue

c#,treeview,kendo-treeview
I'm trying to build a treeViewItemModel with 3 levels, that may or not exist. Like this: From a webservice, I get an object that contains segments, each one has information about the characteristic and direction to which it belongs. But I can't seem to find a way to build a...

How to bind a Kendo treeview to a file directory

c#,kendo-ui,kendo-treeview
I would like to display a folder hierarchy as a Kendo treeview. I assume this involves converting the directory into JSON. Is this possible and the right way to accomplish my goal or is there another way to bind the treeview to a remote file directory?...

Use KendoUI tree view as input value

kendo-ui,kendo-asp.net-mvc,kendo-treeview
I am using Kendo UI TreeView along with Kendo UI MVC Wrappers in my ASP.NET MVC project. I have HTML form in my view. Here is the code of my view: <form method="POST" action="@Url.Action("Review")"> @* ... *@ @(Html.Kendo().TreeView() .Name("CategoryId") .DataTextField("Name") .DataSource(dataSource => dataSource .Read(read => read.Action("Categories", "ReviewCategories")) ) ) @*...

Kendo UI TreeView: how to avoid re-dropping the node to its parent?

kendo-ui,kendo-treeview
The following code snippet disables dropping a node under a specific condition. What's the condition to disable the node from being dropped to its own parent? (i.e. the node is not moved). By default the TreeView allows this behavior. <div id="treeview"></div> <script> $("#treeview").kendoTreeView({ dragAndDrop: true, dataSource: [ { text: "foo",...

Get to get TreeView node using a DataItem ID in UI for ASPNET MVC

jquery,kendo-ui,kendo-treeview
How can I get a TreeView node using a DataItem ID in UI for ASPNET MVC? Obviously the code won't work but I'm looking for something like this: var treeview = $("#OrganizationTree").data("kendoTreeView"); var node = treeview.GetNodeByDataItemID(1234); ...