Interface ISelectionColumnDesc

interface ISelectionColumnDesc {
    color?: string;
    description?: string;
    fixed?: boolean;
    frozen?: boolean;
    groupRenderer?: string;
    label: string;
    labelAsHTML?: boolean | IStyleHTMLWrapper;
    lazyLoaded?: boolean;
    renderer?: string;
    summary?: string;
    summaryAsHTML?: boolean | IStyleHTMLWrapper;
    summaryRenderer?: string;
    type: string;
    visible?: boolean;
    width?: number;
    accessor(row: IDataRow, desc: Readonly<IValueColumnDesc<boolean>>): boolean;
    setter(index: number, value: boolean): void;
    setterAll(indices: IndicesArray, value: boolean): void;
}

Hierarchy (View Summary)

Properties

color?: string

color of this column

not used anymore

description?: string

column description

fixed?: boolean

whether the column can be removed or not

false
frozen?: boolean

frozen column

isSupportType
groupRenderer?: string

default group renderer to use

label: string

label of the column

labelAsHTML?: boolean | IStyleHTMLWrapper

whether to render the label as HTML (unsafe) or a custom function to convert a column to its summary label in HTML

false
lazyLoaded?: boolean

is the data lazy loaded and not yet available

false
renderer?: string

default renderer to use

summary?: string

column summary line (subtitle)

summaryAsHTML?: boolean | IStyleHTMLWrapper

whether to render the description as HTML (unsafe) or a custom function to convert a column to its summary label in HTML

false
summaryRenderer?: string

default summary renderer to use

type: string

the column type

visible?: boolean

is this column visible by default

true
width?: number

initial width of the column

100 or 200 for strings

Methods

  • setter for selecting/deselecting the given row

    Parameters

    • index: number
    • value: boolean

    Returns void