javascript - ng-Grid error when getting focus -
i'm having problem ng-grid can't figure out. whenever click on cell error:
typeerror: undefined not function @ http://cdnjs.cloudflare.com/ajax/libs/ng-grid/2.0.11/ng-grid.debug.js:3494:21 @ h.$get.h.$broadcast (http://localhost:8080/carsweb/dist/js/vendor/angular/angular.min.js:103:414) @ nggriddirectives.directive.focusoninputelement (http://cdnjs.cloudflare.com/ajax/libs/ng-grid/2.0.11/ng-grid.debug.js:2989:20) @ htmldivelement.focus (http://cdnjs.cloudflare.com/ajax/libs/ng-grid/2.0.11/ng-grid.debug.js:3034:21) @ http://localhost:8080/web/dist/js/vendor/angular/angular.min.js:27:15 @ array.foreach (native) @ q (http://localhost:8080/web/dist/js/vendor/angular/angular.min.js:7:255) @ htmldivelement.c (http://localhost:8080/cars/dist/js/vendor/angular/angular.min.js:26:492)
here code grid:
$scope.gridoptions = { data: 'applogdata', enablecellselection: true, enablerowselection: false, enablecelleditonfocus: true, columndefs: [{field: 'appkey', displayname: 'appkey', enablecelledit: true}, {field: 'appkeygroup', displayname: 'appkeygroup', enablecelledit: true}, {field: 'appkeyvalue', displayname: 'appkeyvalue', enablecelledit: true}] };
i'm not sure if somehow libraries of angular.js , ng-grid conflicting somewhere? i'm not quite sure how debug tips on or might going wrong appreciated, thanks.
update
here's quick glace @ applogdata using grid:
versions: ng-grid v2.0.11 angular.js v1.2.4
i think error field getting focus, i've seen posts on changing edit template , col_field being wrong in templates i'm not sure how fix it.
Comments
Post a Comment