ValueComponent

Methods

getMenuItemDescriptor(){object}

Get object descriptor for menu item entry.

Returns: {object}

getMultipleSelectElement(){MultipleSelectUI}

Get multiple select element.

Returns: {MultipleSelectUI}

getState(){object}

Export state of the component (get selected filter and filter arguments).

Returns: {object} Returns object where command key keeps used condition filter and args key its arguments.

reset()

Reset elements to their initial state.

setState(value)

Set state of the component.

Parameters:
Name Type Description
value object

The component value.

updateState(stateInfo)

Update state of component.

Parameters:
Name Type Description
stateInfo object

Information about state containing stack of edited column,
stack of dependent conditions, data factory and optional condition arguments change. It's described by object containing keys:
editedConditionStack, dependentConditionStacks, visibleDataFactory and conditionArgsChange.

Class: ValueComponent