Date picker is not working in AngularJS (ng-grid)

2019-06-14 12:02发布

问题:

    columnDefs: [{ 
                displayName: 'Date', 
                field: 'date', 
                editableCellTemplate: '<input type="text" ng-class="\'colt\' + col.index" ng-input="COL_FIELD" ng-model="COL_FIELD" datepicker-popup="dd-MM-yyyy" datepicker-append-to-body=true />',
                enableCellEdit:true
        }]

http://plnkr.co/edit/5kr8lPIMJtWHVFEgzlu1

date-picker is not working edit template, act just like normal edit input...