A RetroSearch Logo

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

Search Query:

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

JavaScript Selection - Selection Object Overview

Selection overview

A set of APIs that allow you to work with the Selection object. You can use the API of the Selection object when working with the following components: DataView, List, Tree, Grid, Grid in the TreeGrid mode.

DataView, List, Tree​ Methods​

You can apply the following methods of the Selection object to manage the selection of items in DataView, List, Tree:

Name Description add() selects a specified item disable() disables selection functionality in the component enable() enables selection functionality in the component getId() returns the id of a selected item getItem() returns the object of a selected item remove() unselects a previously selected item Events​

You can apply the following events of the Selection object when working with the selection of items in DataView, List, Tree:

Name Description afterSelect fires after selecting an item afterUnSelect fires after unselecting an item beforeSelect fires on selecting an item, but before the item is really selected beforeUnSelect fires on unselecting an item, but before the item is really unselected Grid, Grid in the TreeGrid mode​ Methods​

See the full lists of the methods of the Selection object you can use to manage the selection of cells in Grid, Grid in the TreeGrid mode:

Events​

See the full lists of the events of the Selection object you can use while working with the selection of cells in Grid, Grid in the TreeGrid mode:


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