angular-ui/ui-grid
View on GitHubeditableCellTemplate and enableCellEditOnFocus not working together
Open
#4,286 opened on Aug 28, 2015
grid-edithelp wanted
Description
So we have an issue where we need to use an editableCellTemplate and need enableCellEditOnFocus together. However it seems that they are not working together correctly. The Next row receives focus but the caret/cursor isn't there. CellNav and edit are both enabled and it works on 'non-templated' cells. Is there something I can add to the template to allow it to edit on focus?
Cell Template (new to commenting on github had to get rid of the </>): editableCellTemplate: input id="editBtn" type="string" ng-model="MODEL_COL_FIELD" ng-enter="grid.appScope.edit(row)"
Edit: the edit on focus also works if I add ui-grid-editor to the template options but prevents the ng-enter event from firing.