Hi. I'm trying to use the ng-if or ng-show tags within a custom column template. Unfortunately there seems to be no effect when I change the underlying variable.
gridColumns.push({
field: currentField.FieldName.replace(/ /g, "_"),
title: currentField.FieldName,
template: function (dataItem) {
return $scope.sampleNameTemplate(dataItem);
}
//,locked: true
, width: 250
, editor: $scope.textBoxCmtEditor
});
$scope.showQaQcSamplesEnabled = function () {
return $scope.showQaQcSamples;
};
In my grid there is no change regardless of what the $scope.showQaQcSamples variable is set to.
Any idea how I can get ng-if or ng-show to work correctly within a custom column template?
Thanks,
Ian