Is it possible to have a select drop down inside of the AngularJS ng-grid?

后端 未结 4 910
广开言路
广开言路 2021-02-04 12:34

I have coded the following:

$scope.gridOptions = {
    data: \'myData\',
    enableCellEdit: true,
    multiSelect: false,
    columnDefs: [
        { field: \'I         


        
4条回答
  •  情歌与酒
    2021-02-04 13:10

    I can't take credit for the entire solution. I just put the pieces together. My goal was to preserve three-way binding.

    Template should look something like this:

            $scope.cellSelectEditableTemplate = '
                            
        
    提交评论

提交回复
热议问题