Drag a column header here to group by that column
|
This demo dynamically displays detailed information for the selected row outside the MVC Grid View. The FocusedRowChanged client event is handled via the OnGridFocusedRowChanged() JavaScript function. This function queries the server by using the Grid View's GetRowValues client method, to return the current employee's ID and Notes. The returned array is passed to the OnGetRowValues() JavaScript function, that assigns the obtained values to corresponding controls (DevExpress Image and Memo Editors).
To enable the capabilities of Focused Row, set the SettingsBehavior.AllowFocusedRow property to true. Appearance of the Focused Row can be specified using the Styles.FocusedRow property.
Client Side
End-users can move row focus by clicking the desired row. To respond to a change in row selection, handle the FocusedRowChanged client event. To identify the currently focused row, use the GetFocusedRowIndex client method.
Server Side
Focused Row can be specified by using the FocusedRowIndex property. Use this property to move row focus in code.