Skip to main content

afterUnSelect

fires after unselecting an item

afterUnSelect: (id: string) => void;

Parameters:

id: string - 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);});