- 2 min to read
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.
Data editing is enabled by default.
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.
Presents Boolean values. Cell values are edited using a standard check box (Windows.UI.Xaml.Controls.CheckBox).
Presents lists. Cell values are edited using a standard combo box (Windows.UI.Xaml.Controls.ComboBox).
Provides templates that allow you to implement custom data representation.