Unselect other rows when radio button of row is selected
The selection of a radio button, deselect automatically the other radio button so we must update the selection of other rows to remove the selected class. Closes #14044
This commit is contained in:
1 parent
bd4b030518
commit
45d3a25343
1 file changed
+3
@@ -2061,6 +2061,9 @@
|
||||
},
|
||||
selection_changed: function() {
|
||||
var is_selected = this.is_selected();
|
||||
if (this.tree.selection_mode == Sao.common.SELECTION_SINGLE) {
|
||||
this.tree.select_records(null, null);
|
||||
}
|
||||
this.set_selection(is_selected);
|
||||
if (is_selected) {
|
||||
this.tree.select_changed(this.record);
|
||||
|
||||
Reference in new issue
Block a user