Kendo UI V. 2012.2.924
So I'm trying to do something pretty messed up with my kendo tree view. The situation is this: I have a kendo tree view with on demand loading. I also implemented special placeholder nodes that can be clicked to append additional nodes to each level (as a way of batching).
The feature I need to implement is a search. The user can enter a node name and the tree will expand to that node and select it. I have all the logic on the server figured out. The only problem is that with ondemand loading, every time I append a node to a parent, there is a server call to get the contents of that parent. I want to disable this automatic call until my manual appends have been completed. Anyone know if this can be done? I have tried from the server, but if I just return null it has an error. If I return an empty list, it wipes out the existing appended nodes.
Any help would be appreciated.
<
span
data-role
=
"calendar"
data-bind
=
"value: selectedBlock.Start"
disabled
=
"disabled"
></
span
>
<
span
data-role
=
"calendar"
data-bind
=
"value: selectedBlock.End"
disabled
=
"disabled"
></
span
>
I have noticed an error when trying to bind Date properties to the Kendo grid if the property is defined on a sub property of my model class:
Ex:
columns.Bound(p => p.SomeProperty.SomeDate)
For some reason if I define the date like above it will not render out as a Date, but as the JSON representation of the Date
EX: /Date(-62135578800000)/
The interesting part is that is works fine if I define the date property directly on the model like this:
columns.Bound(p => p.SomeDate)
I am using the Kendo server wrapper for Asp.Net MVC