List - select : "multiselect" - returned selection

Dear Support Team,

I have a question regarding the multiselect.
Can you please have a look at the following snippet : http://webix.com/snippet/6e8793e0 and look at the console output.

Looks like multi-select is doing strange things. It is not returning or partially returning the selected list-items. Looks like the selection is out of sync or something.
Is this a bug?

Kind Regards,

Erik

onItemClick occurs before selection, you need to use onAfterSelect or some similar event

http://webix.com/snippet/367e424a

Selecting multiple items (shift-click) returns array with only one element.
Expected an array of all selected elements. Not?

Yep, I have forget about this one.

For now you need to use onSelectChange ( http://webix.com/snippet/a49c7933 ) as shift-clicks do not trigger onAfterSelect event. It will be fixed in webix 2.5