ViewerDefinition / PartialViewerDefinition
Description
A ViewerDefinition is an interface that exposes properties to allow the definition of a viewer for the data. At this time, the DataGrid supports a viewer as a function or a constructor.
A ViewerDefinition can be provided through the ViewerDefinitionCollection.
Properties
|
Property |
Type |
Description |
|---|---|---|
|
factory? |
(context: ViewerContext) => ViewerElement |
A function receiving a |
|
ctor? |
new () => ViewerProvider |
The constructor of an object, which outputs a |
Remarks
A partial type/interface is an object in which properties are optional.
Need help? Contact us!