File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 660
660
* [ {id: xxx, value: xxx} ], which will be used to populate
661
661
* the edit dropdown. This can be used when the dropdown values are dependent on
662
662
* the backing row entity with some kind of algorithm.
663
- * If this property is set then both editDropdownOptionsArray and
663
+ * If this property is set then both editDropdownOptionsArray and
664
664
* editDropdownRowEntityOptionsArrayPath will be ignored.
665
665
* @param {object } rowEntity the options.data element that the returned array refers to
666
666
* @param {object } colDef the column that implements this dropdown
856
856
var gridCellContentsEl = angular . element ( $elm . children ( ) [ 0 ] ) ;
857
857
//remove edit element
858
858
editCellScope . $destroy ( ) ;
859
- angular . element ( $elm . children ( ) [ 1 ] ) . remove ( ) ;
859
+ var children = $elm . children ( ) ;
860
+ for ( var i = 1 ; i < children . length ; i ++ ) {
861
+ angular . element ( children [ i ] ) . remove ( ) ;
862
+ }
860
863
gridCellContentsEl . removeClass ( 'ui-grid-cell-contents-hidden' ) ;
861
864
inEdit = false ;
862
865
registerBeginEditEvents ( ) ;
You can’t perform that action at this time.
0 commit comments