DataDefinition

[ Interface ]

export interface DataDefinition {
    value: any;
    text: string;
    source?: string;
    width?: number;
    height?: number;
}

Data definition if the column shows 'Image' or 'Combobox'.

Properties

Name

Type

Description

value

any

Value

text

string

Display text for a 'ComboBox', alternative display text for an 'Image'.

source [optional]

string

Web address of an image (only for 'Image')

width [optional]

number

Pixel width of the image (only for 'Image')

height [optional]

number

Pixel height of the image (only for 'Image')

DataDefinition 1:

Available from 1.8