Expand row on first click
issue7656 review64341002
This commit is contained in:
1 parent
9fd0250320
commit
aab6fafe4e
1 file changed
+6
-2
+6
-2
@@ -878,8 +878,12 @@
|
||||
}).append(jQuery('<span/>', { // For responsive min-height
|
||||
'aria-hidden': true
|
||||
}));
|
||||
td.on('click keypress', {'index': i},
|
||||
this.select_column.bind(this));
|
||||
td.on('click keypress', {'index': i}, function() {
|
||||
if (this.expander && !this.is_expanded()) {
|
||||
this.toggle_row();
|
||||
}
|
||||
this.select_column();
|
||||
}.bind(this));
|
||||
if (!this.tree.editable) {
|
||||
td.dblclick(this.switch_row.bind(this));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user