DimComboView.ComboOpened

Syntax

ComboOpened: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ComboOpened event occurs on opening drop-down part of component.

Example

To execute the example, place the DimensionCombo component named dimCombo. Add a handler for the ComboOpened event:

dimCombo.ComboOpened.add(function (sender, args)

{

    dimCombo.getControl().setOpenToFocused(true)

})

After executing the example open the tree, set focus one one of its elements, reduce drop-down panel size (by dragging its borders) in the way to make the focused element invisible. Reopen the panel. On opening the panel the tree is scrolled up to the focused element:

See also:

DimComboView