|
|
 |
 |
|
By default, our Focused Row feature is disabled. To enable it, set the SettingsBehavior.AllowFocusedRow property to true.
The focused row's appearance can be specified using the style settings provided by the Styles.FocusedRow property.
Server Side
The focused row is identified by the FocusedRowIndex property. Use this property to move row focus in code. Changing this property raises the FocusedRowChanged event.
Client Side
End-users move row focus by clicking rows they desire.
To respond to a change in row focus, handle the ASPxClientGridView.FocusedRowChanged event.
To identify a row currently being focused, use the GetFocusedRowIndex() client method.
This demo shows how to dynamically display a focused employee's photo and details outside the ASPxGridView.
The FocusedRowChaged event is handled to call the OnGridFocusedRowChanged() function. This function queries the server to return the employee's ID and Notes. The returned array is passed to the OnGetRowValues() function that specifies values for corresponding HTML elements.
|
 | Loading… |
|
|
 |
|
 |
|
|
|
|
|
|