AngularJS (ng-grid) "editableCellTemplate" remains in edit mode when focus is lost

In the latest version of ng-grid (v2.0.7), when editableCellTemplate is in edit mode and loses focus, it remains in edit mode. Is this a bug or a misconfigured grid?

Here is an example: http://plnkr.co/edit/OgEjk7wFaC982FrKbeHH?p=preview , where column 0 contains editableCellTemplate.

+8
angularjs ng-grid
source share
1 answer

I found the answer in one of the templates inside ng-grid.js. I was missing ng-input = "COL_FIELD"

<select ng-cell-input ng-class="'colt' + $index" ng-input="COL_FIELD" ng-model="COL_FIELD"> <option>nl</option> <option>fr</option> <option>en</option> </select> 
+6
source share

All Articles