EditorDefinition / PartialEditorDefinition
Description
An EditorDefinition
is an interface that exposes properties to allow the definition of an editor to edit data. At this time, the DataGrid
supports an editor as a function or a constructor.
Properties
Property |
Type |
Description |
---|---|---|
factory? |
(context: EditorContext) => EditorProvider
|
A function receiving an |
ctor? |
new () => EditorProvider
|
The constructor of an object, which outputs an |
Remarks
An EditorDefinition
can be provided through the EditorDefinitionCollection
.
A partial type/interface is an object in which properties are optional.
Need help? Contact us!