Interface CellProps

Props of a cell.

interface CellProps {
    cells?: JsonFormsCellRendererRegistryEntry[];
    config?: any;
    data: any;
    enabled: boolean;
    errors: string;
    id: string;
    isValid: boolean;
    path: string;
    renderers?: JsonFormsRendererRegistryEntry[];
    rootSchema: JsonSchema;
    schema: JsonSchema;
    uischema: ControlElement;
    visible: boolean;
    handleChange(path, value): void;
}

Hierarchy (view full)

Properties

All available cell renderers.

config?: any

Any configuration options for the element.

data: any

The data to be rendered.

enabled: boolean

Whether the rendered element should be enabled.

errors: string

Any validation errors that are caused by the data to be rendered.

id: string

A unique ID that should be used for rendering the scoped UI schema element.

isValid: boolean
path: string

Instance path the data is written to, in case of a control.

All available renderers.

rootSchema: JsonSchema

The root schema as returned by the store.

schema: JsonSchema

The JSON schema that describes the data.

uischema: ControlElement

The UI schema to be rendered.

visible: boolean

Whether the rendered element should be visible.

Methods

  • Update handler that emits a data change

    Parameters

    • path: string

      the path to the data to be updated

    • value: any

      the new value that should be written to the given path

    Returns void