ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Editable cell support for ui-select

Open justin-romano opened this issue 11 years ago • 4 comments

I noticed someone did a branch for select2 support in ng-grid. Are there any plans to support ui-select as a cell editor in the new ui-grid?

justin-romano avatar May 12 '15 10:05 justin-romano

It would be nice, +1

trytocatchme avatar May 15 '15 09:05 trytocatchme

Not directly. But ui-grid can support any editor that you choose to build a directive for.

PaulL1 avatar May 16 '15 05:05 PaulL1

I tried to do this based on the example without the expected results.

btw select2 can work with that? gridApi.edit.on.afterCellEdit($scope,function(rowEntity, colDef, newValue, oldValue){ $scope.msg.lastCellEdited = 'edited row id:' + rowEntity.id + ' Column:' + colDef.name + ' newValue:' + newValue + ' oldValue:' + oldValue ; $scope.$apply(); });

trytocatchme avatar May 16 '15 22:05 trytocatchme

@justin-romano @trytocatchme Try using the method from this post: http://brianhann.com/ui-grid-and-dropdowns/ it shows how to use ui-select as an editor.

c0bra avatar Jun 19 '15 17:06 c0bra