Skip to main content

afterUnSelect

fires after unselecting an item

afterUnSelect: (id: string | number) => void;

Parameters:

  • id: string | number - the id of an item

Example

component.selection.events.on("afterUnSelect", function(id){
console.log("An item is unselected");
});
note

The event can be applied to the DataView, List, Tree components.

Starting from v7.0, you can also apply the simplified version of the event:

component.events.on("afterUnSelect", function(id) {
console.log(id);
});