а

Should not handle anything if multi-select is not enabled


#1

I’ve found you added some code to fix below issues in 6.1.7
* Fix bug in the [Multiselect extension](https://docs.dhtmlx.com/gantt/desktop__multiselection.html) which caused selected tasks to lose highlight after chart repaint

But it causes another issue !! I can not get task item selected, cause isSelected method is replaced with multi-selected ext.

image

It is SO FRUSTRATED when you deliver code that is not full tested and have low quality, it causes us too much issues, this is how you deliver you product?

You should really check multi-selected is turned on or off !!!


#2

Hello Kevin,
Even without the multiselect extension, you can still check if the task is selected by using the isSelectedTask method:
https://files.dhtmlx.com/30d/02e8fe92fba4054566deb25057352ef3/vokoscreen-2019-08-15_12-25-15.avi
https://snippet.dhtmlx.com/3a7e741de

Please, give me more details about the use case and reproduce the issue in the snippet, then click on the “Share” button and send me the link:
https://snippet.dhtmlx.com/3a7e741de


#3

reproduce steps:

  1. include the multi-select ext
  2. turn off the multi-select by set the: gantt.config.multiselect = false
  3. click on task row to select task
  4. boom! you can not select your task by click on the task row

#4

demo, here you go: http://snippet.dhtmlx.com/6b31d1e85


#5

No response? WHY…?


#6

Hello Kevin,

Thank you for the clarification and for sending the snippet.
I added the bug in the tracker, the dev team will fix it in future versions, sorry for the inconvenience. Unfortunately, I cannot give you any ETA.

As a workaround, you can disable multiple task selection by using the onBeforeTaskSelected event handler:
https://docs.dhtmlx.com/gantt/api__gantt_onbeforetaskselected_event.html
You can unselect a task after clicking on another task so that you will have only one task selected. Here is the snippet:
http://snippet.dhtmlx.com/c9b0169b1

No response? WHY…?

The questions on the forum have a lower priority than the questions submitted in the support system. You can do that according to the instructions from the email with the license.