Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/384.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript ng焦点和ng模糊不适用于角度ui网格中的ui网格cellNav_Javascript_Angularjs - Fatal编程技术网

Javascript ng焦点和ng模糊不适用于角度ui网格中的ui网格cellNav

Javascript ng焦点和ng模糊不适用于角度ui网格中的ui网格cellNav,javascript,angularjs,Javascript,Angularjs,我正在尝试使用键盘箭头键为UI网格提供单元格导航功能 为此,“I-grid-cellNav”就在这里,所以我尝试在uiGrid.html文件中以下面的方式使用它 <div ui-grid="Grid" style="height: 100%;width :100%" class="grid" ui-grid-cellNav ui-grid-edit ui-grid-selection> 但在上述代码中给出ui grid cellNav后,ng focus和ng blur指令在下

我正在尝试使用键盘箭头键为UI网格提供单元格导航功能

为此,“I-grid-cellNav”就在这里,所以我尝试在uiGrid.html文件中以下面的方式使用它

<div ui-grid="Grid" style="height: 100%;width :100%" class="grid" ui-grid-cellNav ui-grid-edit ui-grid-selection>

但在上述代码中给出ui grid cellNav后,ng focus和ng blur指令在下面的控制器中不起作用:

> columnDefs:[{
>               displayName: '*Event Name',
>               name: 'eventName',
>               width: 150,
>               enableCellEdit: false,
>               cellClass : function(grid,row,col){
>                 return getCellStyle(grid, row,col);
>               },
>               cellTemplate: '<div class="typetext" title="{{row.entity.eventName}}"><input
> ng-disabled="grid.appScope.disableFields" type="INPUT_TYPE"
> ng-click="grid.appScope.startEditing(row.entity.eventName,col,model)"
> ng-focus="grid.appScope.startEditing(row.entity.eventName,col,model)"
> ng-model="row.entity.eventName" typeahead-wait-ms="300"
> typeahead="item for item in
> grid.appScope.getMatchingItems(col.field,row.entity.eventName)"
> class="form-control grid-txtbox"
> ng-blur="grid.appScope.stopEditing(row.entity[col.field],col.field,row)" /></div>'
>             }
>columnDefs:[{
>displayName:“*事件名称”,
>名称:“eventName”,
>宽度:150,
>enableCellEdit:false,
>cellClass:函数(网格、行、列){
>返回getCellStyle(网格、行、列);
>               },
>cellTemplate:'ng disabled=“grid.appScope.disableFields”type=“INPUT\u type”
>ng click=“grid.appScope.startEditing(row.entity.eventName,col,model)”
>ng focus=“grid.appScope.startEditing(row.entity.eventName、col、model)”
>ng model=“row.entity.eventName”typeahead wait ms=“300”
>typeahead=“中项目对应的项目
>grid.appScope.getMatchingItems(col.field,row.entity.eventName)”
>class=“表单控制网格txtbox”
>ng blur=“grid.appScope.stopditing(row.entity[col.field],col.field,row)”/>
>             }
我使用的是AngularJSV1.3.17