We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Keyboard Navigation

If a form contains a grid (GDBG, GGC, etc.) as well as other controls, and the tab order is specified for them all, if the user tabs into the grid control, how does he/she get back out of the grid again using just the keyboard? Also, in a GridGroupingControl, how to expand the child table(s) and get back out using the keyboard only? Thanks Van Baker

1 Reply

AD Administrator Syncfusion Team May 2, 2005 10:18 PM UTC

In either grid, you can set gridcontrolbase.WantTabKey = false; to tell the grid not to accept the tab as cell keys, but instead just tab to the next control . For a GridDataBoundGrid, you can set grid.Model.Options.WrapCellBehavior = GridWrapCellBehavior.NextControlInForm; to allow the tab key to move from cell to cell, and then move to the next control when you reach the last cell in the grid. Currently, there are no keys to expand or collapse nodes. You could try to use an event like TableControlCurrentCellKeyDown to catch a function key or something, and explicitly expand the current record.

Live Chat Icon For mobile
Up arrow icon