[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Focus and Navigation
     [Collapse]Focused Row
       Focused Row Overview
     [Expand]Selection
     [Expand]Paging and Scrolling
      Keyboard Navigation
    [Expand]Data Editing
    [Expand]Data Shaping and Manipulation
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
     Adaptivity
     Save and Restore Layout
    [Expand]Templates
    [Expand]Export
     Toolbars
    [Expand]ASPxGridLookup
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [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]Localization
 [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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.

Note

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?​​​​​​​