fires when the selection of an item is finished
id | string|number | id of the item |
myDataView.attachEvent("onAfterSelect", function (id){
// your code here
});
in case of multi-select, the event fires only for the items which were clicked. And it doesn't fire for the items which were selected by shift-click or any similar actions.
The event won't fire for Ctrl-click which results in item unselecting. Basically, while onBeforeSelect fires for both select and unselect actions, onAfterSelect will fire only for true selects.
Back to top