如何在出现null时设置默认值
$scope.dtOptions = DTOptionsBuilder
.fromSource('api/Restt/List');
$scope.dtColumns = [
DTColumnBuilder.newColumn('modifT').withTitle('Date & Time')
答案 0 :(得分:3)
$scope.dtOptions = DTOptionsBuilder
.fromSource('api/Restt/List');
$scope.dtColumns = [
DTColumnBuilder.newColumn('modifT').withTitle('Date & Time').withOption('defaultContent', '-default value-')