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?
ADAdministrator Syncfusion Team May 2, 2005 05:18 PM
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.