The requested page is not available for the requested platform. You are viewing the content for Default platform.

Data Editing

The grid control supports inplace cell editing. There are five column types to display specific data types (Boolean, Date-Time, Numeric, Lists and Text), one column type that provides masking capabilities for text values, and one column type for custom data presentation via templates. Cell values are edited using data editors. Each column type stores specific settings responsible for the data editor's functionality. A cell editor is created when an end-user starts to edit a cell value, and is automatically destroyed when editing is completed. This dramatically increases application performance.

To enable data editing, set the grid's DataControlBase.AllowEditing property to true and set the DataControlBase.NavigationStyle property to GridControlNavigationStyle.Cell. Columns provide the ColumnBase.AllowEditing property, which allows you to override the behavior specified by the grid, and disable data editing for individual columns.

Note

Data editing is enabled by default.

Column Types

There are five column types to present specific data types (Boolean, Date-Time, Numeric, Lists and Text), one column type that provides masking capabilities and one column type for custom data presentation. The column types are listed and described in the table below.

Column Type

Description

Text

GridTextColumn

Presents data as text. Cell values are edited using an embedded text editor that ships with the Editors Library (TextEdit).

Numeric

GridSpinEditColumn

Presents numeric values. Cell values are edited using an embedded spin editor that ships with the Editors Library (SpinEdit).

Boolean

GridCheckBoxColumn

Presents Boolean values. Cell values are edited using a standard check box (Windows.UI.Xaml.Controls.CheckBox).

List

GridComboBoxColumn

Presents lists. Cell values are edited using a standard combo box (Windows.UI.Xaml.Controls.ComboBox).

Date-Time

GridDateColumn

Presents Date-Time values. Cell editors are edited using an embedded date editor that ships with the Editors Library (DateEdit).

Mask

GridMaskColumn

Presents data as text and provides masking capabilities. Cell editors are edited using an embedded text editor that ships with the Editors Library (TextEdit).

Custom

GridTemplateColumn

Provides templates that allow you to implement custom data representation.

Concepts

Showing and Hiding Editors

Adding Rows