Skip to main content

ASPxClientGridView.FocusedCellChanging Event

Fires before the focused cell is changed.

Declaration

FocusedCellChanging: ASPxClientEvent<ASPxClientGridViewFocusedCellChangingEventHandler<ASPxClientGridView>>

Event Data

The FocusedCellChanging event's data class is ASPxClientGridViewFocusedCellChangingEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
cellInfo Provides information on a cell currently being focused.

Remarks

The grid raises the FocusedCellChanging event when a user moves focus from one cell to another. This event allows you to prevent cell focus and editing (including command cells).

Note that the FocusedCellChanging event is in effect only in Batch Edit Mode.

Note

Use the BatchEditStartEditing event instead of the FocusedCellChanging event to cancel cell editing when the StartEditAction property is set to ‘Click’.

See Also