vendredi 27 janvier 2017

AngularJS: How can I select multiple checkboxes using shift and mouse click?

Is it possible to use shift and mouse click to select multiple elements on a table using AngularJS?

I have a table in which the first column is a checkbox and I would like to use SHIFT key and mouse click in order to select multiple rows continuously and can do things like delete, edit them etc.

Example by steps:

  1. Click on 1st row's checkbox.
  2. Holding down SHIFT key.
  3. Click on 10th row's checkbox.

Result: the first 10th rows will be selected.

Does anyone know how this can be done using AngularJS?




Aucun commentaire:

Enregistrer un commentaire