Author Topic: selectionModel problem for 4.0.1  (Read 2098 times)

francis6425

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 12
    • View Profile
selectionModel problem for 4.0.1
« on: October 18, 2017, 06:22:27 pm »
Hi,

With version 3.4.1 having selectionModel: { type: 'cell', mode: 'block'}, when clicking on each individual row without pressing the ctrl or shift key, only that particular row will be selected which is correct. If need to select more rows then use the ctrl or shift click together with the clicking.

But with 4.0.1, even without pressing the ctrl or shift key together with the clicking on multiple row, more than 1 rows are selected.
This should not be the case.

Hope this issue can be rectified fast.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: selectionModel problem for 4.0.1
« Reply #1 on: October 18, 2017, 08:21:56 pm »
API and UI for row selections has been changed in v4.

In v4, single rows can be deselected by Ctrl - click or by click itself if selectionModel.toggle is true.

Multiple rows can be selected or deselected by shift - click.