or
var dataSource = new kendo.data.DataSource({
transport: {
read: "orders.json"
}
change: function(e) {
// create a template instance
var template = kendo.template($("#template").html());
// render a view by passing the data to a template
kendo.render(template, dataSource.view());
}
});
I think the example here should explain that dataSource.view(); would be provided by a data- attribute on the view, I assume that way data- attributes in the templates would work as expect (right? - untested.)
Hi,
I had assigned UICulture to Chinese(zh-CN).
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CarryingCapacityMD>" UICulture="zh-CN" %>And the content of button in the Toolbar/Command has been show in Chinese.
But when editing mode is PopUp, and I click 'Add new item'/'Edit' button popup a window.
That title still show in English.
Is a Bug?
Or give me a solution.
And why the second textbox's width in the popup window is too long.
See more detail in the attachment file.
Best regards!
<li><a><img src="srb-images/resume-icon.png" class="fileOptionDefaultIcon"><h3>Create Document</h3></a></li>
I do not want the list item to have a auto detail icon. How would you disable this icon? ">"
<script id="urgentTemplate" type="text/x-kendo-tmpl"> <tr ${ if dataItem[status] == urgent this.addClass(urgent)} </tr>
If templates cannot be made to work in this manner way, or if they don't travel with the row when
it is grouped, it would be helpful to have an event that fired after each group section was instantiated,
exposing the rows of the group, so one could iterate them, examine the dataItem of each,
and reapply a custom class to the row when applicable.
Sorry about this orange text. I'm not sure how to inject pseudo-code into my question without
messing up the styling.