Version

Editor Providers

You have the option to supply an editor other than the default editor for fields in WebDataGrid™. This allows you to provide an editor you deem more appropriate for your application. The editor providers available are as follow:

Some of these editor providers are used by default depending on the data type of WebDataGrid’s columns. The following table lists the data types and their associating editors.

Type Editor

Byte

NumericEditorProvider

Char

Internal (input-text) editor

DateTime

DateTimeEditorProvider

Decimal

NumericEditorProvider

Double

NumericEditorProvider

Int16

NumericEditorProvider

Int32

NumericEditorProvider

Int64

NumericEditorProvider

SByte

NumericEditorProvider

Single

NumericEditorProvider

String

Internal (input-text) editor

UInt16

NumericEditorProvider

UInt32

NumericEditorProvider

UInt64

NumericEditorProvider

To use editor providers, add them to the EditorProviders collection. Once added, you can access an editor provider with its Id and assign it to a particular column. For more information on assigning editor providers, see Using Editor Providers.