onAfterSelect

fires after item was selected

void onAfterSelect(id id);
ididthe id of an item

Example

some.attachEvent("onAfterSelect", function (id) {
  // ... some code here ...
});

Details

If multiselect mode is enabled, the event will fire only when additional items are selected with Ctrl+click, while passing the ID of a recently selected item. The event wil not fire when the selection is extended via Shift+click.

It is safer to use the onSelectChange event, which catches all selection state changes in the component, combined with the getSelectedId method.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix mvc library and page of javascript menu product.