var options = {};
options.columnDefs ={
name: 'gakunen_name',
header1:'hizuke',
header4:'kamoku_kigo',
header3:'kakutei_kbn_meisho',
displayName: '全選択',
width: 50,
pinnedLeft: true,
enableColumnMenu: false,
cellClass: 'pinnedTextAlignCenter',
//type: 'checkbox',
noUnselect: true,
cellTemplate:'<input ng-click="grid.appScope.myhello();" ng-model="gakunen_name" type="checkbox"/>', //ng-model="true"
enableSelectAll : true
}
grid.myhello=function(){
alert(12);
}
内嵌 ng-click 失效,如何让ng-click有效,其实我的最终目的,想改变 'gakunen_name' 的值。求各位大神指点