beforeUnSelect error

Hello.

https://snippet.dhtmlx.com/o5867eq9

First, Please look at the Snippet.
If I press “text”, I want to keep the previously selected cell.

To do this,

grid.events.on(“BeforeUnSelect”, function(row, col){
console.log(“beforeUnSelect”, row, col);
return false;
});

I’ve tried that grammar, and it affects the entire grid.
And if I specify false after multiple selections, a stack call error will occur.

I want to set the unselect to false only when I press the link.
What should I do? Help me

The problem with the beforeUnselect event is confirmed. We’ll try to fix it in the future updates.

What about your original use case, a better solution will be to add the stopPropagation to your link:
https://snippet.dhtmlx.com/nq42bguj
if you need to avoid selection change for your link placed in the grid cell

Hello
We have fixed your reported problem in the latest dhx.Suite update (v7.3.13).
You can check it in your original snippet.
Please, try to download the latest available dhx.Suite build to get that fix.
Thank you for your report.