Javascript 在ag网格中单击tab键时如何获取下一个/上一个单元格定义

Javascript 在ag网格中单击tab键时如何获取下一个/上一个单元格定义,javascript,angularjs,ag-grid,Javascript,Angularjs,Ag Grid,我正在使用ag网格,我需要在ag网格中使用tab事件显示下一个单元格定义和上一个单元格定义。请找到那个。 单击tab键时,请提供您的输入以获取下一个/上一个单元格定义 参考文档: 这有一个事件和属性 [tabToNextCell]="tabToNextCell" [navigateToNextCell]="navigateToNextCell" 另请参阅 谢谢你的快速回复。 interface TabToNextCellParams { // true if the shift key

我正在使用
ag网格
,我需要在
ag网格
中使用tab事件显示下一个单元格定义和上一个单元格定义。请找到那个。 单击tab键时,请提供您的输入以获取下一个/上一个单元格定义

参考文档:

这有一个事件和属性

[tabToNextCell]="tabToNextCell"
[navigateToNextCell]="navigateToNextCell"
另请参阅


谢谢你的快速回复。
interface TabToNextCellParams {

  // true if the shift key is also down
  backwards: boolean;

  // true if the current cell is editing (you may want to skip cells that are not editable,
  // as the grid will enter the next cell in editing mode also if tabbing)
  editing: boolean;

  // the cell that currently has focus
  previousCellDef: GridCellDef;

  // the cell the grid would normally pick as the next cell for this navigation
  nextCellDef: GridCellDef;
}