Grid - Accessibility Keyboard Support

Press CTRL + SHIFT + G to activate the grid
Category(Ascending)
#
Product ID
Product Name
Unit Price
[Collapse]Category: Beverages (Continued on the next page)
 1Chai$18.00
 2Chang$19.00
 24Guaraná Fantástica$4.50
 34Sasquatch Ale$14.00
 35Steeleye Stout$18.00
 38Côte de Blaye$263.50
 39Chartreuse verte$18.00
 43Ipoh Coffee$46.00
 67Laughing Lumberjack Lager$14.00
Page 1 of 9 (85 items)Prev123456789Next

The DevExpress ASP.NET GridView (ASPxGridView) includes built-in keyboard support, allowing you to perform navigation operations using a keyboard instead of a pointing device. For example, you can access the grid within a form, move focus through grid rows, select grid rows, and expand/collapse rows. By enabling keyboard support for the ASPxGridView, you can create web pages that conform to accessibility guidelines.

To enable keyboard navigation, set the KeyboardSupport property of the grid to true. This will activate the following grid features:

  • Access Key - The grid control can be accessed (focused) using a user-defined keyboard shortcut. This shortcut is created by combining the preset CTRL+SHIFT combination with a single character string specified via the AccessKey property. For example, setting the access key of a grid control to the string "G" indicates that an end-user can navigate to the grid by pressing CTRL + SHIFT + G.
  • Focused Row - The Focused Row feature is automatically activated, regardless of the corresponding feature property setting (SettingsBehavior.AllowFocusedRow). Focus can be moved between rows using the UP and DOWN ARROW keys. The LEFT and RIGHT ARROW keys can also be used to move row focus, but these keys initially try to collapse/expand a row. In this case, focus is only moved when it is not possible to collapse/expand a row. When focus is on the first row in a page and you press the UP ARROW or LEFT ARROW key, the previous page is displayed. When focus is on the last row in a page and you press the DOWN ARROW or RIGHT ARROW key, the next page is displayed.
  • Row Selection - The SPACE key can be used to mark a focused row as selected/unselected. This works if selection can be applied to a row (if the row is not a group or detail row, the SettingsBehavior.AllowSelectByRowClick property is enabled, or the row contains a selection check box or button). Multiple rows can easily be selected by moving row focus with the ARROW keys (UP/DOWN or LEFT/RIGHT) while holding down the SHIFT key.
  • Expanding/Collapsing Rows - The PLUS and MINUS keys can be used to expand and collapse group and detail rows, respectively. In addition, rows can be collapsed and expanded using the LEFT and RIGHT ARROW keys.
  • Paging - The SHIFT + PAGE UP and SHIFT + PAGE DOWN key combinations can be used to go to the previous grid page and next grid page, respectively.
Version: v2014 vol 1.6
Copyright © 2006-2014 Developer Express Inc
Your Next Great ASP.NET App Starts Here

Get started today and download your 30-day trial of ASP.NET Controls and Libraries (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress ASP.NET distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress ASP.NET Controls and Libraries ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.