我有一个可能有图像的列,否则它是null。
如何添加过滤器,以便只显示带图像的行?
我的专栏定义为
case 'image':
column.type = "string";
column.template = ' #if(' + key + ') { # <a class="thumbnail" ><img src="#=' + key + '#" ng-click="vm.imageClicked(\'#=' + key + '#\' )" > </a> #}#';
column.filterable = {
cell: {
enabled: false
}
}
break;
感谢。
答案 0 :(得分:0)