or
{field:"Count", title:"Settings", filterable: false, width: 100,
template:'<
a
href
=
"\\#"
onlick
=
"editSettings();"
>#=Count#</
a
>'
seriesDefaults: { type: "bar", stack: true, labels: { visible: true, position: "insideBase", format: "c0" } }, series: [{ field: "Amount", gap: 0.3 }],
seriesDefaults: { type: "bar", stack: true, labels: { visible: true, position: "insideBase", format: "c0" }, gap: 0.3 }, series: [{ field: "Amount" }],
$(
"#LineOfBusiness"
).kendoComboBox({
dataTextField:
"LineOfBusiness"
,
dataValueField:
"LineOfBusiness"
,
dataSource: {
type:
"json"
,
transport: {
read:
"/ajax/lobs.php"
},
serverFiltering:
true
,
schema: {
data:
"data"
,
total:
"total"
}
},
filter:
"contains"
,
suggest:
true
,
index: 3
});
$(
"#ProjectName"
).kendoComboBox({
cascadeFrom:
"LineOfBusiness"
,
autoBind:
false
,
dataTextField:
"ProjectName"
,
dataValueField:
"ProjectName"
,
dataSource: {
type:
"json"
,
transport: {
read:
"/ajax/projects.php"
},
serverFiltering:
true
,
schema: {
data:
"data"
,
total:
"total"
}
},
filter:
"contains"
,
suggest:
true
,
index: 3
}).data(
"kendoComboBox"
);
$(
"#HRLevel"
).kendoComboBox({
cascadeFrom:
"ProjectName"
,
autoBind:
false
,
dataTextField:
"HRLevel"
,
dataValueField:
"HRLevel"
,
dataSource: {
type:
"json"
,
transport: {
read:
"/ajax/hrlevels.php"
},
serverFiltering:
true
,
schema: {
data:
"data"
,
total:
"total"
}
},
filter:
"contains"
,
suggest:
true
,
index: 3
}).data(
"kendoComboBox"
);
$(
"#Manager"
).kendoComboBox({
cascadeFrom:
"HRLevel"
,
autoBind:
false
,
dataTextField:
"ManagerName"
,
dataValueField:
"ManagerName"
,
dataSource: {
type:
"json"
,
transport: {
read:
"/ajax/managers.php"
},
serverFiltering:
true
,
schema: {
data:
"data"
,
total:
"total"
}
},
filter:
"contains"
,
suggest:
true
,
index: 3
}).data(
"kendoComboBox"
);
var
lob = $(
"#LineOfBusiness"
).data(
"kendoComboBox"
);
var
projectname = $(
"#ProjectName"
).data(
"kendoComboBox"
);
var
hrlevel = $(
"#HRLevel"
).data(
"kendoComboBox"
);
var
manager = $(
"#Manager"
).data(
"kendoComboBox"
);
<
input
name
=
"ProductType"
data-source
=
"myDataSource"
data-text-field
=
"productName"
data-value-field
=
"productId"
data-bind
=
"value:ProductType"
data-role
=
"dropdownlist"
/>