Hello, I am trying to apply a custom (non-kendo) template to a filterable cell. The project is in angular. The issues is that when I attempt to apply the custom template, the data from my controller does not seem to be bound at all to the template. See the attached code:
Controller:
$scope.header = "Hello";
Grid Configuration:
field:
"dataSource"
,
title:
"REPORTING_TABLE_COLUMN_TITLE_DATASOURCE"
,
filterable: {
cell: {
template:
function
getteamplate(args) {
args.element.replaceWith($templateCache.get(
"modules/reporting/"
+
"retrieve/templates/dataSourceMultiSelect.tpl.html"
));
},
operator:
"contains"
,
showOperators:
false
}
}
Template:
<h1>{{vm.header}}</h1>
Am I missing a compile step or something along those lines?
Thanks,
Note: Obviously, these are only code snippets.