[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Collapse]Data Editing and Validation
     Edit Form
     New Item Row
    [Collapse]Inplace Editors
      Inplace Editors Overview
      Assigning Editors to Columns
      Showing and Hiding Editors
      Custom Edit Template
      Immediate Posting
    [Expand]Editing in Code
    [Expand]Input Validation
    [Expand]Clipboard Management
     Moving Nodes in TreeList
   [Expand]Filtering and Searching
   [Expand]Data Summaries
   [Expand]Paging and Scrolling
   [Expand]Focus and Navigation
   [Expand]Conditional Formatting
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Inplace Editors Overview

Cell values are edited using editors shipped with the DXEditors Library. Each editor has the helper class (the BaseEditSettings descendant) responsible for the editor's functionality. When the same editor is used in multiple locations, the grid uses this helper class to paint its cells. The actual editors are only created when end-users start to edit a cell and are automatically destroyed when editing is completed.

By default, the grid automatically creates editors for all columns, based on their value type. For instance, if a column is bound to a field that contains DateTime values, the grid creates a date editor for this column. If a column is bound to a field that contains numeric data, the spin editor is used. Otherwise, the text editor is used. To manually assign the required editor (e.g., combo box or spin editor) to a column, use the column's ColumnBase.EditSettings property. Note that you should not assign the editor itself, but its helper class (e.g., ComboBoxEditSettings).

If none of the editors in the DXEditors Library meet the requirements of your application, you can create and display custom editors using the DataViewBase.CellTemplate (ColumnBase.CellTemplate for a specific column) property.

Expanded Active Editor

If a View is in edit mode, the edited cell's editor is returned by the DataViewBase.ActiveEditor property. If the View is in edit mode, the DataViewBase.IsEditing property returns true.

Expanded Concepts

Is this topic helpful?​​​​​​​