A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/selection/api/selection_afterselect_event/ below:

Website Navigation


JavaScript Selection - afterSelect Event

afterSelect

fires after selecting an item

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

Parameters:

Example

component.selection.events.on("afterSelect", function(id){
console.log("An item is selected");
});

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("afterSelect", function(id) {
console.log(id);
});

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4