Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.0K+ views
In my application, I need to be able to disable (make unedtiable) a cell based on the value of another cell in the same row.
How can I achieve this using the Kendo UI grid?

Currently, all I can figure out how to do is set the editable attribute for an entire column. But this won't work for me because I need to have some cells in that column be editable while others are not.
Dimiter Madjarov
Telerik team
 answered on 06 Mar 2013
1 answer
115 views
I'm having a problem with the kendo Grid when I configure it for selectable: "row".
If I click around quickly on the grid, I get into a state where the currently selected row doesn't follow the cell currently being edited.
I couldn't figure out how to reproduce it reliably, but usually within 4-5 fast clicks it will happen.
The behavior occurs on Firefox, Chrome, and IE.

See the attached image.
Petur Subev
Telerik team
 answered on 06 Mar 2013
5 answers
112 views
I'm trying to bind a unordered list of checkboxes to a dropdown. It's very similar to cascading dropdowns. The trouble is that when the ul is bound with the template the checkboxes aren't bound to the array in the view model right away. When I change the dropdown selected item the ul updates but the checkes don't update until I click on them. It's difficult to explain so I've created a jsbin here.

In the example, I check App1, then select Administrator from the dropdown, and then select Instructor from the dropdown. App1 is no longer checked but if I click App2 to check it, App1 becomes checked. So the binding must have occurred.

Any help would be appricated.
Daniel
Telerik team
 answered on 06 Mar 2013
4 answers
195 views
I have an application that contains locations of various gas stations and I would like to give the user the ability to open the native maps application on their device to view this location (and then navigate to it if they desire).  Is there a way to do this with Kendo Ui mobile?  I know that typically you just need a link to a particular url to do this from a webpage but it gets opened in a child view in my Kendo app (note I am referring to a hybrid app built with icenium).


I have tried both of the following:
<a href="http://maps.google.com/maps?q=dallas">map link</a>
<a data-rel="external" href="http://maps.google.com/maps?q=dallas">map link</a>

Neither will launch the Google maps application on an android device (tested with Nexus 4 running android 4.2.2)
David
Top achievements
Rank 1
 answered on 06 Mar 2013
3 answers
83 views
I have a grid that has a detailTemplate for which the primary control is a tabstrip.

If my users clicks on the contents of a tabstrip's tab the entire tabstrip becomes draggable.  

I don't have any need for dragging and would like to disable this behavior. Is there any way to do this?

Please let me know if this isn't expected behavior and I can create a fiddle for it.

Thanks
Jim
Top achievements
Rank 1
 answered on 06 Mar 2013
1 answer
178 views
Hello,

I'm getting an error within kendo.all.min.js:

Unhandled exception at line 17, column 14133 in http://localhost/PrayerLink/Content/Scripts/kendo.all.min.js

0x800a138f - JavaScript runtime error: Unable to get property 'msie' of undefined or null reference

What is the cause of this?  This page was working fine earlier...
Dimo
Telerik team
 answered on 06 Mar 2013
1 answer
193 views
I have a 3-level 706 leaf data source that is sent from my server.  
7 nodes at level-1, 121 nodes at level-2, 706 nodes at level-3.

The DOM element to contain the kendoTreeView is created dynamically as thus:
$('<div/>')
.attr('id','product-hier-levels-tree')
.appendTo('#product-hier-levels')
.kendoTreeView({
    height:'100%',
    dragAndDrop: false,
    dataSource: data.tree.data,
    select: onSelectHierNode
});
It takes about 20 seconds for the above statement to execute.  I'm pretty sure I need to load the tree in it's entirety because after it is loaded the nodes that were selected in a previous session are automatically reselected.  (onSelectHierNode does some magic to allow multiple selections in the TreeView).

Regardless, the 20s is a UI killer and hard to sell to the user.

From earlier discussions it sounds like 128 (7+121) data sources are created internally as kendoTreeView consumes my input dataSource "data.tree.data" and may be the largest cause of the delays observed.

Q: Can you recommend techniques for speeding up the tree population ?
Not sure how loadOnDemand would work if I need to auto select one or more level-3 nodes

Q: Is there a progress callback available during populating so that I can at least show something is going on ?
I would much rather have a progress bar than an indeterminate spinny.

Q: Are there any roadmap plans for a kendoVirtualTreeView ? 
I can manage the data and states myself fine, just 'call me' when you want some.
Alex Gyoshev
Telerik team
 answered on 06 Mar 2013
2 answers
88 views
Hi. I have a window that loads an URL in an Iframe. When the page loads, the ComboBox control and DatePicker does not open in IE8. Only in IE8.
Washington
Top achievements
Rank 1
 answered on 06 Mar 2013
1 answer
764 views
Hello,

In the metro theme the fill of the columns/bars does not have a gradient. I used the theme builder to customize the metro theme. However after I apply the custom theme the fill of the columns/bars does have a gradient. For an example see http://jsfiddle.net/6jMth/ .
How can you disable the gradient in my custom theme?

Marcel
Iliana Dyankova
Telerik team
 answered on 06 Mar 2013
8 answers
113 views
Okay

This may sound like a stupid question, but as far as I understand, we always need to use the data() method to get the widget object which we can use to call its methods upon.

This seems to be counter-productive in terms of object chaining.  Is there a method available that allows me to go back to the initialilly selected object?  I'm a hug fan of chaining , and usually my code looks like this:

$('object-selector')
       .method1()
       .method2()
       .method3();

when I need to execute a method on a widget, I am not sure how this would work:

$('object-selector')
       .data("kendoGrid")
       .someGridMethod();

--> I seem to be unable to go back to the selected object to add other methods.  Am I missing something?  Why aren't the methods simply exposed on the initial object?  It just doesn't seem to be making any sense to me to be honest.
Atanas Korchev
Telerik team
 answered on 06 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?