手动添加select
$scope.editSelectList=$scope.listobj[_columnName]; $scope.editValue=$scope.editValue+""; $div='<divclass="edit-element"><selectclass="form-controlwidth-100"ng-model="editValue"ng-options="kasvfor(k,v)ineditSelectList"></select></div>'; vartemplate=angular.element($div); var$element=$compile(template)($scope); $(_th).append($element);