Prevent switching row when double click on expander

Closes #12732
This commit is contained in:
Cédric Krier committed 2023-11-11 19:34:27 +01:00
1 parent 389d7a1143
commit adea79e356
1 file changed
+5
+5
View File
@@ -1562,6 +1562,11 @@
this.expander.children().html(' ');
this.expander.on('click keypress',
Sao.common.click_press(this.toggle_row.bind(this)));
this.expander.dblclick((evt) => {
// prevent calling switch_row on td
evt.preventDefault();
evt.stopImmediatePropagation();
});
}
for (var i = 0; i < this.tree.columns.length; i++) {