In this tree multiselect snippet, click on “Music”. Notice both the click and select event fire. Now shift+click on “Videos”. Notice that only the click event fire, even though the selection was modified from 1 to 3 nodes.
This is known behavior and I’m not sure that it need to be changed.
If you are using multiselect mode, most probably you will need to catch the event when selection changed, not the separate on-select events.
It can be done with onSelectChange event
http://webix.com/snippet/cb3bcfd0
http://docs.webix.com/api__selectionmodel_onselectchange_event.html
I can add this to the docs for onAfterSelect
. Does it apply to onAfterSelect
for all components, or only some?
It is common for all components