【发布时间】:2020-06-05 13:33:01
【问题描述】:
app.controller('projetTableController', function($scope,$http,$compile,CRUDService) {
$scope.init = function(){
CRUDService.init($scope);
var filtres = [];
var columns = [
{mDataProp : 'id',"visible":false,"searchable":false} ,
{"sWidth": "10px", bSortable: false,searchable:false , orderable: false,"mRender": function(data, type, full) {
return '<input type="checkbox" ng-disabled="mode == \'read\'" ng-checked="checkedP('+full.id+')" ng-click="toggleCheckedP('+full.id+')" />';
}},
{mDataProp : 'denomination'}
];
$scope.tableProjet = TableManager.initCompiled("projetTable","/projet/rest/list", columns,filtres,$compile,$scope);
};
});
【问题讨论】:
-
请参考表管理器
标签: angularjs spring-boot datatables