You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It brings the dropdown up just fine, but it doesn't go away again when the cell loses focus. I think the problem is perhaps that the blur event is being consumed by the dropdown without being propogated, so there's no "lose focus". But it also doesn't appear to go back to the base cellTemplate if you use the arrow keys.
In the absence of some more elegant solution, is it possible to just end editing on any cells still being edited if/when a new cell is selected? Whether that be receiving focus or actually starting editing?
The text was updated successfully, but these errors were encountered:
For every complex widget you need to support, you must create a directive to communicate that the widget has completed editing.
see the uiGridEditor directive in gridEdit.js. you will need something similar for dropdown with needed events wired up to emit:
uiGridEditConstants.events.END_CELL_EDIT
uiGridEditConstants.events.CANCEL_CELL_EDIT
Has anyone done any work on using widgets other than an input inside the editable feature?
I'm having issues with dropdowns within an edit, refer this plunkr: http://plnkr.co/edit/TMB14DquOmXN42V03E6P?p=preview
It brings the dropdown up just fine, but it doesn't go away again when the cell loses focus. I think the problem is perhaps that the blur event is being consumed by the dropdown without being propogated, so there's no "lose focus". But it also doesn't appear to go back to the base cellTemplate if you use the arrow keys.
In the absence of some more elegant solution, is it possible to just end editing on any cells still being edited if/when a new cell is selected? Whether that be receiving focus or actually starting editing?
The text was updated successfully, but these errors were encountered: