interface CellComponentContext {
    $value: any;
    $attrs(obj: string | Record<string, any>): undefined;
    $body(value: any): undefined;
    $class(obj: Record<string, any>): undefined;
    $component(name: string): undefined;
    $props(obj: Record<string, any>): undefined;
    $style(obj: Record<string, any>): undefined;
    $vue(obj: Record<string, any>): undefined;
}

Properties

$value: any

The current value of the cell

Methods

  • Set the attributes of the edit component

    Parameters

    • obj: string | Record<string, any>

      a plain object containing attributes

    Returns undefined

  • Set the properties to be passed to the component

    Parameters

    • obj: Record<string, any>

      A object with the property names and values

    Returns undefined

  • Set the Style of the edit component. This style object provided should be consistent with Vue JS conventions

    Parameters

    • obj: Record<string, any>

      An object containing styles to apply to component

    Returns undefined