AngularJS Ng网格-TabIndex不工作
我正在使用ng网格渲染我的数据。我的单元格中有使用模板定义的链接 见普朗克 当我在输入文本框中并单击tab按钮时,焦点应移到网格中的链接,在本例中为“myLink”,但它不会:( 我的代码是:AngularJS Ng网格-TabIndex不工作,angularjs,ng-grid,tabindex,Angularjs,Ng Grid,Tabindex,我正在使用ng网格渲染我的数据。我的单元格中有使用模板定义的链接 见普朗克 当我在输入文本框中并单击tab按钮时,焦点应移到网格中的链接,在本例中为“myLink”,但它不会:( 我的代码是: <!DOCTYPE html> <html ng-app="myApp"> <head lang="en"> <meta charset="utf-8"> <title>Custom Plunker<
<!DOCTYPE html>
<html ng-app="myApp">
<head lang="en">
<meta charset="utf-8">
<title>Custom Plunker</title>
<link rel="stylesheet" type="text/css" href="http://angular-ui.github.com/ng-grid/css/ng-grid.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
<script type="text/javascript" src="http://angular-ui.github.com/ng-grid/lib/ng-grid.debug.js"></script>
<script type="text/javascript" src="main.js"></script>
</head>
<body ng-controller="MyCtrl">
<input type="text" />
<div class="gridStyle" ng-grid="gridOptions"></div>
</body>
</html>
海关抢劫犯
有趣的是,当我在firebug控制台中编辑div class=“ngViewport”并编辑任何内容时,比如我将tabindex=“0”修改为“0”自行保存后,选项卡开始工作…您解决问题了吗?我放弃了整个ng网格,创建了自己的表指令。遗憾的是,这通常是第三方控件的唯一选项。。。