[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Focus and Navigation
     [Collapse]Focused Row
       Focused Row Overview
     [Expand]Paging and Scrolling
      Keyboard Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
     Save and Restore Layout
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Focused Row Overview

To enable the Focused Row feature, set the ASPxGridViewBehaviorSettings.AllowFocusedRow property to true.

The style settings used to paint the focused data row can be accessed and customized using the GridViewStyles.FocusedRow property. The focused group row's appearance can be customized using the GridViewStyles.FocusedGroupRow property.


Row focusing is disabled when cell merging is allowed.

Expanded Server-Side

The focused row is identified by the ASPxGridView.FocusedRowIndex property. Use this property to move row focus within the current page. Changing this property raises the ASPxGridView.FocusedRowChanged event.

This example shows how to focus a row which isn't displayed within the current page. To do this, you should first switch to the page which contains the required row, and then move row focus.

Expanded Client-Side

End-users move row focus by clicking rows they desire. To identify a row currently being focused, use the ASPxClientGridView.GetFocusedRowIndex client method. To move row focus, use the ASPxClientGridView.SetFocusedRowIndex method.

To respond to changing row focus, handle the ASPxClientGridView.FocusedRowChanged client event.

Is this topic helpful?​​​​​​​