"beforeUnSelect" javascript error

Hello.
When I use the “beforeunselect” function,
If you do return false,
A javascript error will occur.

https://docs.dhtmlx.com/suite/grid/api/selection/selection_beforeunselect_event/
https://snippet.dhtmlx.com/giar79df


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

What’s the cause?
And can you solve it?

According to the Selection event docs, the beforeUnSelect is only available for:

The event can be applied to the DataView, List, Tree components.

https://docs.dhtmlx.com/suite/selection/api/selection_beforeunselect_event/

Thank you for your report. The problem is confirmed. We’ll try to fix it in one of the future updates.
I’ll inform you here about any progress on this issue.

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.