Interface SetActiveOptions

Possible values for WunderbaumNode.setActive options argument.

interface SetActiveOptions {
    colIdx?: string | number;
    edit?: boolean;
    event?: Event;
    focusTree?: boolean;
    noEvents?: boolean;
    retrigger?: boolean;
}

Properties

colIdx?: string | number
edit?: boolean

Focus embedded input control of the grid cell if any (requires colIdx >= 0). If colIdx is 0 or '*', the node title is put into edit mode. Implies focusTree: true, requires colIdx.

event?: Event

Optional original event that will be passed to the (de)activate handler.

focusTree?: boolean

Call tree.setFocus() to acquire keyboard focus (@default: false).

noEvents?: boolean

Do not generate (de)activate event (@default: false).

retrigger?: boolean

Generate (de)activate event, even if node already has this status (@default: false).