Hello,
i've got a problem with persisting the state of a grid.
kendo.stringify($scope.grid.getOptions())
Templates of columns will only be exported if they are defined as strings, external templates or template functions, are ignored.
Is there a proper way to get this working?
Works:
template: '#: (DeliverDateType) ? DeliverDateType.name : "" #',
Doesn't work:
template: kendo.template($(
"#colProductionJobValue"
).html()),
template:
function
(data) {
var
numbers = [];
for
(
var
i = 0; i < data.ProductionJob.length; i++) {
if
(
typeof
data.ProductionJob[i].id !=
'undefined'
) {
numbers.push(data.ProductionJob[i].id);
}
}
return
numbers.join(
', '
);
},