EvHaus / doby-grid

An HTML table element on steroids.
Other
14 stars 5 forks source link

Shift + Click not behaving consistently with rowBasedSelection #112

Closed EvHaus closed 10 years ago

EvHaus commented 10 years ago

When using rowBasedSelection you get inconsistent selection behavior with Shift + Click. Consider this:

1) Click the first row in the grid to select that row 2) Shift + click another row in the grid. Now the selection is from the first row, to the row you clicked. 3) Shift + click another row lower in the grid. Now the selection is from the row you clicked in step 2 to the row you clicked in step 3. However -- the selection should be from the first row to the one you clicked in step 3.

Things get even more strange if you click on rows above the previously selected range. Then you get the difference of the two ranges.