or
var template = kendo.template($("#Template_Pre").html()
+ viewModel.templates["someKey"].Item
+ $("#Template_Sub").html());
$("#mylist").kendoMobileListView({
dataSource: viewModel.listDataSource,
template: template,
appendOnRefresh: false,
pullToRefresh: true,
scrollThreshold: 30
});
<
input
data-role
=
"numerictextbox"
data-bind
=
"value: someIntValue"
/>
model: {
id: "myId",
fields: {
myId: { editable: false, type: "number" },
someStringValue: { editable: false, type: "string" },
someIntValue: { editable: true, type: "number", validation: { min: 0 } }
}
}
<
a
id
=
"GoIssue"
data-role
=
"button"
href
=
"Main/Issue
?
priorPage
=
Picklist
&
fieldName
=
reqOrWO
&value={TBS}"
data-icon
=
"details"
></
a
><
br
>
// Start disabled until someone puts something IN the reqOrWO field
$('#GoIssue').addClass("disabled");
// disabled is implemented by returning false on the click action if it has the disabled class
// the disabled class also has visual aspects as well.
$('#GoIssue').click(function ()
{
event.preventDefault ? event.preventDefault() : event.returnValue = false;
return (!$(this).hasClass('disabled'));
});
series: [{
type:
"pie"
,
field:
"Amount"
,
categoryField:
"DisplayName"
,
colorField:
"color"
,
padding: 20,
overlay:
"glass"
}]
series: [{
type:
"pie"
,
field:
"Amount"
,
categoryField:
"DisplayName"
,
colorField:
"color"
,
padding: 20,
overlay: {
gradient:
"glass"
}
}]