Syncfusion.SfDataGrid Namespace > SfDataGrid Class : EditorSelectionBehavior Property
EditorSelectionBehavior Property
Gets or sets the editor selection behavior, when a grid cell enters into edit mode. The editor selection behavior indicates the position of cursor and selection in edit element, when entering into edit mode. SfDataGrid provides support for editing the cell values, when AllowEditing is set as true.
public EditorSelectionBehavior EditorSelectionBehavior {get; set;}

Property Value

The EditorSelectionBehavior, when SfDataGrid enters into editing mode. The default value is EditorSelectionBehavior.MoveLast.
SfDataGrid provides support for customizing the editor selection behavior when the cell enters into edit mode. SfDataGrid either selects the text of edit element loaded inside cell or places the cursor at the last of edit element loaded inside cell. By default, SfDataGrid places the cursor at the last of the edit element.
dataGrid.EditorSelectionBehavior = EditorSelectionBehavior.SelectAll;

Syncfusion.SfDataGrid.iOS: 15.3451.0.26

See Also