The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is it possible for me to change the next cell that becomes enabled when a user hits tab within a grid.
Currently when a user hits tab within a grid, the next cell to the right of the current cell becomes the active cell. Can I make it so that the next cell is the cell below the current cell. Basically change the movement from left to right via rows to top to bottom via columns.
HAhaneefm Syncfusion Team May 25, 2007 08:56 PM UTC
Hi Vik,
This is an expected behavior. But you can get the Tab key to behave like the Down key is to override the grid’s OnKeyDown, and change the Tab key to an Down key before calling the baseclass. Below is a code snippet.
public class MyGridControl: GridControl { protected override void OnKeyDown(KeyEventArgs e) { if( e.KeyCode == Keys.Tab && e.Modifiers == Keys.None) e = new KeyEventArgs(Keys.Down); base.OnKeyDown (e); } }